From 06839051b80952dbb20b320fcddb8d4bdacdf395 Mon Sep 17 00:00:00 2001 From: Jon Whitcraft Date: Fri, 5 Jan 2018 14:52:55 -0500 Subject: [PATCH] Added a Quick Readme --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c5a14b0 --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# AWS Role Trust Update + +A quick utility for updating AWS IAM role trust policies to allow other roles to assume this policy + +```console +aws-role-trust-update -role-name -arn +``` + +## Help + +Make sure that the aws cli tool has been installed and has been configured. If not you can use the following environment variables: + +- AWS_ACCESS_KEY +- AWS_SECRET_KEY + +### Existing Role ARN + +To get an existing roles ARN you can do the following with the AWS cli + +```console +aws iam get-role --role-name | grep "Arn" | awk '{ print substr($2,2,length($2)-2) }' +```