forked from TrueCloudLab/rclone
Update docs on S3 policy to include ListAllMyBuckets permission
This permission is required for `rclone lsd`.
This commit is contained in:
parent
a6dca4c13f
commit
6a3c3d9b89
1 changed files with 8 additions and 1 deletions
|
@ -351,6 +351,8 @@ permissions are required to be available on the bucket being written to:
|
||||||
* `PutObject`
|
* `PutObject`
|
||||||
* `PutObjectACL`
|
* `PutObjectACL`
|
||||||
|
|
||||||
|
When using the `lsd` subcommand, the `ListAllMyBuckets` permission is required.
|
||||||
|
|
||||||
Example policy:
|
Example policy:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -373,7 +375,12 @@ Example policy:
|
||||||
"arn:aws:s3:::BUCKET_NAME/*",
|
"arn:aws:s3:::BUCKET_NAME/*",
|
||||||
"arn:aws:s3:::BUCKET_NAME"
|
"arn:aws:s3:::BUCKET_NAME"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Action": "s3:ListAllMyBuckets",
|
||||||
|
"Resource": "arn:aws:s3:::*"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue