diff --git a/AWS-IAM-CLI.md b/AWS-IAM-CLI.md index 6ef0acf..e16ea84 100644 --- a/AWS-IAM-CLI.md +++ b/AWS-IAM-CLI.md @@ -4,7 +4,7 @@ See [AWS-CLI-with-SeaweedFS](https://github.com/chrislusf/seaweedfs/wiki/AWS-CLI # Execute commands -## Create s3 credentials +## Create S3 credentials Create user and access key ``` @@ -62,5 +62,25 @@ echo 's3.configure' | weed shell } ] } - +``` + +## Show S3 credentials + +List access keys +``` +aws --endpoint http://127.0.0.1:8111 iam list-access-keys +{ + "AccessKeyMetadata": [ + { + "UserName": "iam", + "AccessKeyId": "B04R0WM64L0DAJ0N9LFZ", + "Status": "Active" + }, + { + "UserName": "Bob", + "AccessKeyId": "X8R439UM7OSQJX28I9QTP", + "Status": "Active" + } + ] +} ```