Skip to content

rc admin policy create/attach/etc features NotImplemented #6

@BalintCsonka

Description

@BalintCsonka

Hi!

According to https://github.com/rustfs/cli?tab=readme-ov-file#admin-subcommands, admin policy commands are supported, however I am getting refused when trying to create or attach a policy, please find some examples below.

Creating a policy with the example json policy provided here: https://github.com/rustfs/cli/blob/main/scripts/policies/readonly-policy.json

~ ➜ rc admin policy create rustfs testpolicy test-policy.json
✗ Failed to create policy: Network error: HTTP 501: <?xml version="1.0" encoding="UTF-8"?><Error><Code>NotImplemented</Code></Error>

Attaching a policy to a user fails with a similar ERROR:

~ ➜ rc admin policy attach --user rc-test-new rustfs readwrite
✗ Failed to attach policy: Network error: HTTP 501: <?xml version="1.0" encoding="UTF-8"?><Error><Code>NotImplemented</Code></Error>

Thank you in advance for you support! Please let me know if I can provide anything else to help this move forward!

rustfs cli: v0.1.3
rustfs: 1.0.0-alpha.81

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions