刪除AllUsers的我從AWS這樣從ACL策略在bash
{
"Owner": {
"DisplayName": "2414218.aws",
"ID": "xxxxxxxx"
},
"Grants": [
{
"Grantee": {
"DisplayName": "2414218.aws",
"ID": "yyyyyyyyyy"
},
"Permission": "FULL_CONTROL"
},
{
"Grantee": {
"URI": "http://acs.amazonaws.com/groups/global/AllUsers"
},
"Permission": "READ"
}
]
}
的迴應,我希望更新的文件,以便AllUsers的去除(獲取對象的ACL應該像下圖)
{
"Owner": {
"DisplayName": "2414218.aws",
"ID": "xxxxxxxx"
},
"Grants": [
{
"Grantee": {
"DisplayName": "2414218.aws",
"ID": "yyyyyyyyyy"
},
"Permission": "FULL_CONTROL"
}
]
}
我該怎麼做,不知道還有哪些受助者可用?我特別期待,當我看到http://acs.amazonaws.com/groups/global/AllUsers
我目前使用aws s3api get-object-acl --bucket mhe-deployments-prod --key $keyFile | jq '.'
定位策略
不錯的一個,這幾乎是我一直在尋找 – ehime