Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Comment:
DOC-2783
Include Page | ||||
---|---|---|---|---|
|
- EN
- FR
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
You can use an Access Control List (ACL) to set permissions for other users to access and manage your bucket. For more information, see Access Control List (ACL) Reference.
|
Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
To configure the ACL of a bucket, use the put-bucket-acl command following this syntax:
Code Block language text title Request Sample $ aws s3api put-bucket-acl \ --profile YOUR_PROFILE \ --bucket BUCKET \ --acl private \ --grant-full-control "id=123456789012USER_ID, id=987654321098USER_ID" \ --grant-read "id=123456789012USER_ID, id=987654321098USER_ID" \ --grant-read-acp "id=123456789012USER_ID, id=987654321098USER_ID" \ --grant-write "id=123456789012USER_ID, id=987654321098USER_ID" \ --grant-write-acp "id=123456789012USER_ID, id=987654321098USER_ID" \ --endpoint ENDPOINT
Include Page INCL:_RC-General-SentPart-AWSCLIattributes INCL:_RC-General-SentPart-AWSCLIattributes
Include Page INCL:_RC-General-SentPart-AWSCLIProfile INCL:_RC-General-SentPart-AWSCLIProfile bucket
: The name of the bucket for which you want to set the ACL.Include Page INCL:_RC-OS-Important-ACLRules INCL:_RC-OS-Important-ACLRules - (optional)
acl
: The permissions you grant for your bucket (private
|public-read
|public-read-write
|authenticated-read
). (optional)
grant-full-control
: One or more account more IDs of users to users to whom you grant thefull-control
permission permission.
- (optional)
grant-read
: One One or more account IDs of users to users to whom you grant theread
permission permission. - (optional)
grant-read-acp
: One or more account more IDs of users to users to whom you grant the theread-acp
permission permission. - (optional)
grant-write
: One One or more account more IDs of users to users to whom you grant the thewrite
permission. - (optional)
grant-write-acp
: One or more account more IDs of users to users to whom you grant thewrite-acp
permission permission.Include Page INCL:_RC-OS-Important-ACLRulesGrantID INCL:_RC-OS-Important-ACLRules Include Page INCL:_RC-OS-Note-ACLRules INCL:_RC-OS-Note-ACLRulesGrantID Include Page INCL:_RC-OS-SentPart-AWSCLIEndpoint INCL:_RC-OS-SentPart-AWSCLIEndpoint
The ACL is configured for your bucket.
Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
Previous Step: (optional) Enabling or Disabling Bucket Versioning Next Step:
|
Include Page | ||||
---|---|---|---|---|
|