aws s3api get-bucket-acl
Jump to navigation
Jump to search
aws s3api get-bucket-acl
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/get-bucket-acl.html
Examples[edit]
Amazon doc example:
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[edit]
See also[edit]
Advertising: