mirror of
https://github.com/rclone/rclone.git
synced 2025-03-14 08:25:15 +08:00
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
@ -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…
x
Reference in New Issue
Block a user