mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 07:07:25 +08:00
s3: adjust config examples
This commit is contained in:
@@ -54,7 +54,13 @@ var cmdS3 = &Command{
|
|||||||
{
|
{
|
||||||
"identities": [
|
"identities": [
|
||||||
{
|
{
|
||||||
"name": "some_name",
|
"name": "anonymous",
|
||||||
|
"actions": [
|
||||||
|
"Read"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "some_admin_user",
|
||||||
"credentials": [
|
"credentials": [
|
||||||
{
|
{
|
||||||
"accessKey": "some_access_key1",
|
"accessKey": "some_access_key1",
|
||||||
@@ -64,6 +70,8 @@ var cmdS3 = &Command{
|
|||||||
"actions": [
|
"actions": [
|
||||||
"Admin",
|
"Admin",
|
||||||
"Read",
|
"Read",
|
||||||
|
"List",
|
||||||
|
"Tagging",
|
||||||
"Write"
|
"Write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -89,6 +97,8 @@ var cmdS3 = &Command{
|
|||||||
],
|
],
|
||||||
"actions": [
|
"actions": [
|
||||||
"Read",
|
"Read",
|
||||||
|
"List",
|
||||||
|
"Tagging",
|
||||||
"Write"
|
"Write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -102,6 +112,8 @@ var cmdS3 = &Command{
|
|||||||
],
|
],
|
||||||
"actions": [
|
"actions": [
|
||||||
"Read:bucket1",
|
"Read:bucket1",
|
||||||
|
"List:bucket1",
|
||||||
|
"Tagging:bucket1",
|
||||||
"Write:bucket1"
|
"Write:bucket1"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user