commands

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2017 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const MaxDurationSeconds = 3600

MaxDurationSeconds the maximum duration in seconds for an STS session

Variables

This section is empty.

Functions

func Configure

func Configure(loginFlags *LoginFlags, cmdline []string) error

Configure configure account profiles

func Exec added in v1.2.0

func Exec(loginFlags *LoginFlags, cmdline []string) error

Exec execute the supplied command after seeding the environment

func Login

func Login(loginFlags *LoginFlags) error

Login login to ADFS

Types

type LoginFlags added in v1.8.0

type LoginFlags struct {
	IdpAccount           string
	IdpProvider          string
	MFA                  string
	Profile              string
	URL                  string
	Username             string
	Password             string
	RoleArn              string
	AmazonWebservicesURN string
	SkipVerify           bool
	Timeout              int
	SkipPrompt           bool
	Provider             string
}

LoginFlags login specific command flags

func (*LoginFlags) RoleSupplied added in v1.8.0

func (lf *LoginFlags) RoleSupplied() bool

RoleSupplied role arn has been passed as a flag

Jump to

Keyboard shortcuts

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