provision

Chris Lu
2026-04-13 13:12:06 -07:00
parent 0ae12019ee
commit 8ad6227767
2 changed files with 4 additions and 1 deletions
+3
@@ -288,6 +288,9 @@ Bucket-specific permissions work with all configuration methods:
# One-step: create user with a readwrite policy for a specific bucket
s3.user.provision -name bucket1_user -bucket mybucket -role readwrite
# Grant the same user access to another bucket (skips user creation, attaches policy)
s3.user.provision -name bucket1_user -bucket otherbucket -role readonly
# Or step-by-step:
s3.user.create -name bucket1_user
s3.policy -put -name mybucket-policy -file mybucket-policy.json
+1 -1
@@ -257,7 +257,7 @@ Or use the one-step convenience command:
```
Roles: `readonly`, `readwrite`, `admin`. The bucket must be a literal name (no wildcards).
If the user already exists, the command fails without creating an orphaned policy.
If the user already exists, the command skips user creation and attaches the new policy to the existing user (no new credentials are printed).
### Manage credentials
```