Difference between revisions of "Aws s3api get-bucket-acl"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
<code>[[aws s3api]] get-bucket-acl</code> | <code>[[aws s3api]] get-bucket-acl</code> | ||
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/get-bucket-acl.html | https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/get-bucket-acl.html | ||
+ | |||
+ | == Examples == | ||
+ | aws s3api get-bucket-acl --bucket MY-BUCKET | ||
+ | { | ||
+ | "Owner": { | ||
+ | "DisplayName": "my-username", | ||
+ | "ID": "7009a8971cd538e11f6b6606438875e7c86c5b672f46db45460ddcd087d36c32" | ||
+ | }, | ||
+ | "Grants": [ | ||
+ | { | ||
+ | "Grantee": { | ||
+ | "DisplayName": "my-username", | ||
+ | "ID": "7009a8971cd538e11f6b6606438875e7c86c5b672f46db45460ddcd087d36c32" | ||
+ | }, | ||
+ | "Permission": "FULL_CONTROL" | ||
+ | } | ||
+ | ] | ||
+ | } | ||
Revision as of 09:13, 4 November 2021
aws s3api get-bucket-acl
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/get-bucket-acl.html
Examples
aws s3api get-bucket-acl --bucket MY-BUCKET { "Owner": { "DisplayName": "my-username", "ID": "7009a8971cd538e11f6b6606438875e7c86c5b672f46db45460ddcd087d36c32" }, "Grants": [ { "Grantee": { "DisplayName": "my-username", "ID": "7009a8971cd538e11f6b6606438875e7c86c5b672f46db45460ddcd087d36c32" }, "Permission": "FULL_CONTROL" } ] }
aws s3api get-bucket-acl --bucket MY-BUCKET { "Owner": { "ID": "672f6e982a19f45fb64dc74f7da2e5f57a82f61d6c0953f87d08dbb70547eb8t" }, "Grants": [ { "Grantee": { "ID": "742f6e982a19f45fb64dc74f7da2e5f57a82f61d6c0953f87d08dbb89547eb0t", "Type": "CanonicalUser" }, "Permission": "FULL_CONTROL" } ] }
Related
See also
Advertising: