flags

package
v2.36.18 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 1 Imported by: 1

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 {
	AppID                 string
	ClientID              string
	ClientSecret          string
	ConfigFile            string
	IdpAccount            string
	IdpProvider           string
	BrowserType           string
	BrowserExecutablePath string
	BrowserAutoFill       bool
	MFA                   string
	MFAIPAddress          string
	MFAToken              string
	URL                   string
	Username              string
	Password              string
	RoleArn               string
	AmazonWebservicesURN  string
	SessionDuration       int
	SkipPrompt            bool
	SkipVerify            bool
	Profile               string
	Subdomain             string
	ResourceID            string
	DisableKeychain       bool
	Region                string
	CredentialsFile       string
	SAMLCache             bool
	SAMLCacheFile         string
	DisableRememberDevice bool
	DisableSessions       bool
	Prompter              string
}

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

type ConsoleFlags

type ConsoleFlags struct {
	LoginExecFlags *LoginExecFlags
	Link           bool
}

type LoginExecFlags

type LoginExecFlags struct {
	CommonFlags       *CommonFlags
	DownloadBrowser   bool
	Force             bool
	DuoMFAOption      string
	ExecProfile       string
	CredentialProcess bool
}

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