From 6a3c3d9b899a9f2d221f3ca17c978705417670a2 Mon Sep 17 00:00:00 2001 From: Russell Davis Date: Mon, 1 Jul 2019 19:56:20 -0700 Subject: [PATCH] Update docs on S3 policy to include ListAllMyBuckets permission This permission is required for `rclone lsd`. --- docs/content/s3.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/content/s3.md b/docs/content/s3.md index c051b330c..d53e3bde4 100644 --- a/docs/content/s3.md +++ b/docs/content/s3.md @@ -351,6 +351,8 @@ permissions are required to be available on the bucket being written to: * `PutObject` * `PutObjectACL` +When using the `lsd` subcommand, the `ListAllMyBuckets` permission is required. + Example policy: ``` @@ -373,7 +375,12 @@ Example policy: "arn:aws:s3:::BUCKET_NAME/*", "arn:aws:s3:::BUCKET_NAME" ] - } + }, + { + "Effect": "Allow", + "Action": "s3:ListAllMyBuckets", + "Resource": "arn:aws:s3:::*" + } ] } ```