From 81d046d10cd79e3cfd6420a7c453221913db5728 Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> Date: Fri, 9 Apr 2021 14:57:08 +0500 Subject: [PATCH] Updated AWS IAM CLI (markdown) --- AWS-IAM-CLI.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) 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" + } + ] +} ```