xrole

package module
v0.0.0-...-03ab60a Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2019 License: MIT Imports: 3 Imported by: 0

README

X-role

XRole is an utility to assume aws roles from command line and aws profiles

Installation

go get -u github.com/cthulhu/x-role

Usage

List assumable profiles:

x-role -l

Assume profile production:

x-role production

Assume profile production with verbose info:

x-role -i production

Cleanup identity:

x-role -u

Display version info

x-role -v

Display help

x-role -v

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() error

Types

type FileCacheProvider

type FileCacheProvider struct {
	Creds *credentials.Credentials
}

func (*FileCacheProvider) IsExpired

func (f *FileCacheProvider) IsExpired() bool

func (*FileCacheProvider) Retrieve

func (f *FileCacheProvider) Retrieve() (credentials.Value, error)

Directories

Path Synopsis
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL