From 22658f769a68b43909624c7a9ca66d7a40fe943b Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> Date: Fri, 9 Apr 2021 11:00:04 +0500 Subject: [PATCH] Updated Amazon IAM API (markdown) --- Amazon-IAM-API.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Amazon-IAM-API.md b/Amazon-IAM-API.md index ed7e44c..2e26e5c 100644 --- a/Amazon-IAM-API.md +++ b/Amazon-IAM-API.md @@ -16,4 +16,11 @@ To be compatible with Amazon IAM API, a separate "weed iam" command is provided. * GetUser * ListUsers * ListAccessKeys +``` + +# Authentication + +By default, the access key and secret key to access weed iam is not authenticated. To enable credential based access, create an admin credentials to the example below +``` +echo 's3.configure -access_key some_access_key1 -secret_key some_secret_key1 -user iam -actions Admin -apply' | weed shell ``` \ No newline at end of file