Updated Amazon S3 API (markdown)

Chris Lu 2020-10-07 23:16:27 -07:00
parent 46c568a67e
commit 0285ed0775

@ -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"
]
},