Skip to content

mpratsch/aws-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

aws-python-scripts

aws_extract_assume_role_creds.sh

This is used to extract the AWS credentials with the sts assume-role command.

It will print the export command for the credentials.

Just copy & paste them in your terminal.

Use aws_extract_assume_role_creds.sh unset to unset the environment envs. Also copy & paste that.

Example:

aws sts assume-role --role-arn arn:aws:iam::[ACCOUNT_ID]:role/[ROLE_NAME] --role-session-name [SESSION_NAME] | aws_extract_assume_role_creds.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages