break-glass

command module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 11 Imported by: 0

README

break-glass

break-glass is a simple tool to manage short lived AWS credentials.

break glass for key

It will assume roles (optionally) with MFA authentication and save those temporary credentials to an AWS profile.

Usage

break-glass is configured with an additional config file in the ~/.aws directory ~/.aws/break-glass

e.g.

[admin]
aws_role_arn =  arn:aws:iam::012345678901:role/Admin
aws_mfa_device = arn:aws:iam::012345678901:mfa/iphone
duration = 3600

[on-call]
aws_role_arn =  arn:aws:iam::012345678901:role/OnCall
aws_mfa_device = arn:aws:iam::012345678901:mfa/iphone
duration = 3600

When break-glass is run, if a MFA device is configured it will request a token, then temporary credentials for the named profile(s) will be written to the ~/.aws/credentials file.

If you have more than one profile in your ~/.aws/break-glass credentials will be created for all profiles in the file, unless you set the --profiles flag to target only the profile(s) that you want credentials for!

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