From 0285ed0775283f4b19b32fa27f02b19ad9f0de0a Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 7 Oct 2020 23:16:27 -0700 Subject: [PATCH] Updated Amazon S3 API (markdown) --- Amazon-S3-API.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Amazon-S3-API.md b/Amazon-S3-API.md index 4b6cbb3..89be82f 100644 --- a/Amazon-S3-API.md +++ b/Amazon-S3-API.md @@ -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:" action allows uploading files within a bucket, e.g., "Write:bucket1". -* The "Read:" action allows reading and listing files within a bucket, e.g., "Read:bucket2". +* The "Read:" action allows reading files within a bucket, e.g., "Read:bucket2". +* The "List:" 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" ] },