Skip to content

AWS temporary credential getter for shell scripts

License

Notifications You must be signed in to change notification settings

richiefi/awscredget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awscredget

awscredget is a minimal tool to acquire AWS session/role credentials. It is useful for acquiring temporary AWS credentials to pass to short-lived containers and similar isolated environments, particularly in cases where installing the full awscli package on the host system is problematic.

Building

The tool may be built for the current system with either make or go build. To build for multiple architectures, make all may be used; set ARCHS in the Makefile to add new targets.

Usage

Run the tool with the -h flag to see all options. Typical usage from a shell script:

eval $(awscredget)

The -r flag may be used to acquire credentials for the given role ARN instead of session credentials.

Input credentials are fetched using AWS SDK's default mechanisms.

About

AWS temporary credential getter for shell scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published