aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-10-08 10:11:59 -0700
committerChris Lu <chris.lu@gmail.com>2020-10-08 10:12:09 -0700
commit78859e35fcd20c0aa8d8f60887c5b52c8cce84b5 (patch)
tree9a839705f60927ce9bd6fa1b7a036090ba334921 /weed/command
parent9e7a2772b19869e209f188585a117b7b69263843 (diff)
downloadseaweedfs-78859e35fcd20c0aa8d8f60887c5b52c8cce84b5.tar.xz
seaweedfs-78859e35fcd20c0aa8d8f60887c5b52c8cce84b5.zip
s3: adjust config examples
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/s3.go14
1 files changed, 13 insertions, 1 deletions
diff --git a/weed/command/s3.go b/weed/command/s3.go
index e94decaf3..7d0954c0c 100644
--- a/weed/command/s3.go
+++ b/weed/command/s3.go
@@ -54,7 +54,13 @@ var cmdS3 = &Command{
{
"identities": [
{
- "name": "some_name",
+ "name": "anonymous",
+ "actions": [
+ "Read"
+ ]
+ },
+ {
+ "name": "some_admin_user",
"credentials": [
{
"accessKey": "some_access_key1",
@@ -64,6 +70,8 @@ var cmdS3 = &Command{
"actions": [
"Admin",
"Read",
+ "List",
+ "Tagging",
"Write"
]
},
@@ -89,6 +97,8 @@ var cmdS3 = &Command{
],
"actions": [
"Read",
+ "List",
+ "Tagging",
"Write"
]
},
@@ -102,6 +112,8 @@ var cmdS3 = &Command{
],
"actions": [
"Read:bucket1",
+ "List:bucket1",
+ "Tagging:bucket1",
"Write:bucket1"
]
}