aws-role-trust-update

command module
v0.0.2-0...-38f473e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2018 License: BSD-2-Clause Imports: 8 Imported by: 0

README

AWS Role Trust Update

A quick utility for updating AWS IAM role trust policies to allow other roles to assume this policy

aws-role-trust-update -role-name <rolename here> -arn <awn arn here>

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

aws iam get-role --role-name <another role that is attached to an ec2 instance> | grep "Arn" | awk '{ print substr($2,2,length($2)-2) }'

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL