Commit 3e9cebe
committed
feat: add admin commands for IAM user, policy, group, and service account management
Implement CLI support for IAM management on RustFS/MinIO-compatible servers.
This adds the 'rc admin' command with subcommands for managing:
- Users: list, add, info, remove, enable, disable
- Policies: list, create, info, remove, attach
- Groups: list, add, info, remove, enable, disable, add/remove members
- Service Accounts: list, create, info, remove
New modules:
- core/admin: AdminApi trait and IAM types (User, Group, Policy, ServiceAccount)
- s3/admin: AdminClient implementing HTTP calls with AWS SigV4 signing
- cli/commands/admin: CLI command implementations
All commands support --json output for scripting.
Closes #15711 parent 8aca7ed commit 3e9cebe
14 files changed
Lines changed: 3151 additions & 0 deletions
File tree
- crates
- cli/src/commands
- admin
- core/src
- admin
- s3
- src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
| |||
0 commit comments