8000 GitHub - jomast/aws-role: A simple utility to load aws credentials into a bash (or similar)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jomast/aws-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-role

This is a simple utility to load aws credentials into a bash (or similar) environment. What makes this utility different from others is that it will display a list of all known profiles to choose from. This small change does not make it better than other utilities, but it simply behaves the way I want it to.

Usage

Create an alias to execute: alias creds='eval $(aws-role)' and add it to ~/.bash_profile or ~/.bashrc.

$ creds
   1. bar-prod
   2. bar-staging
   3. foo-prod
   4. foo-staging

Select: 4
MFA Code: 123456
Duration in hours [1]:
AWS Creds Loaded!

About

A simple utility to load aws credentials into a bash (or similar)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0