mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-09 07:47:54 +02:00
Updated Amazon S3 API (markdown)
1 parent
46c568a67e
commit
0285ed0775
1 file changed
+8
-4
+8
-4
@@ -56,14 +56,16 @@ By default, the access key and secret key to access `weed s3` is not authenticat
|
||||
|
||||
## Configuration Example
|
||||
|
||||
You just need to create a user with all "Admin", "Read", "Write" actions.
|
||||
You just need to create a user with all "Admin", "Read", "Write", "List", "Tagging" actions.
|
||||
You can create as many users as needed. Each user can have multiple credentials.
|
||||
|
||||
* The "Admin" action is needed to list, create, and delete buckets.
|
||||
* The "Write" action allows uploading files to all buckets.
|
||||
* The "Read" action allows reading and listing files from all buckets.
|
||||
* The "Read" action allows reading files from all buckets.
|
||||
* The "List" action allows listing files from all buckets.
|
||||
* The "Write:<bucket_name>" action allows uploading files within a bucket, e.g., "Write:bucket1".
|
||||
* The "Read:<bucket_name>" action allows reading and listing files within a bucket, e.g., "Read:bucket2".
|
||||
* The "Read:<bucket_name>" action allows reading files within a bucket, e.g., "Read:bucket2".
|
||||
* The "List:<bucket_name>" action allows listing files within a bucket, e.g., "List:bucket2".
|
||||
|
||||
For public access, you can configure an identity with name "anonymous", usually with just "Read" action, or access to specific buckets.
|
||||
|
||||
@@ -99,7 +101,8 @@ For public access, you can configure an identity with name "anonymous", usually
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
"Read"
|
||||
"Read",
|
||||
"List"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -112,6 +115,7 @@ For public access, you can configure an identity with name "anonymous", usually
|
||||
],
|
||||
"actions": [
|
||||
"Read",
|
||||
"List",
|
||||
"Write"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user