yaargo

command module
v0.0.0-...-abfa908 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: MIT Imports: 8 Imported by: 0

README

yaargo

Yet Another Assume-Role in GOlang

  • small, single-file, easily-audited source code
  • optionally spawns a tmux server
  • optionally spawns a Docker container (default: alpine)
  • uses existing AWS SDK config ($HOME/.aws/credentials profiles)
  • prompts for MFA if required

usage

$ ./yaargo --help
Usage of ./yaargo:
  -docker
    	pass role credentials to a new Docker container
  -duration duration
    	override credential lifetime (default 1h0m0s)
  -entrypoint string
    	Docker entrypoint to use (set to empty string to use image default) (default "/bin/sh")
  -image string
    	Docker image to use (default "alpine")
  -profile string
    	AWS profile name (from $HOME/.aws/credentials)
  -tmux
    	invoke tmux instead of $SHELL

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