flags

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyFlagOverrides

func ApplyFlagOverrides(commonFlags *CommonFlags, account *cfg.IDPAccount)

ApplyFlagOverrides overrides IDPAccount with command line settings

Types

type CommonFlags

type CommonFlags struct {
	IdpAccount           string
	IdpProvider          string
	MFA                  string
	URL                  string
	Username             string
	RoleArn              string
	AmazonWebservicesURN string
	SkipPrompt           bool
	SkipVerify           bool
}

CommonFlags flags common to all of the `saml2aws` commands (except `help`)

func (*CommonFlags) RoleSupplied

func (cf *CommonFlags) RoleSupplied() bool

RoleSupplied role arn has been passed as a flag

type LoginExecFlags

type LoginExecFlags struct {
	CommonFlags *CommonFlags
	Profile     string
	Password    string
}

LoginExecFlags flags for the Login / Exec commands

Jump to

Keyboard shortcuts

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