go-assume

command module
v0.0.0-...-4190ae7 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: MIT Imports: 11 Imported by: 0

README

go-assume

A simple CLI for assuming a role and setting the session information to the default environment variables. Intended for automated usage like CI/CD pipelines

Exports 3 environment variables:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_ACCESS_KEY_ID

Usage

eval "$(go-assume -region $REGION -key $ACCESS_KEY_ID -secret $SECRET_ACCESS_KEY -role-arn $ROLE_ARN)"

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