Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalFlags = []cli.Flag{ &cli.BoolFlag{Name: "console", Aliases: []string{"c"}, Usage: "Open a web console to the role"}, &cli.StringFlag{Name: "service", Aliases: []string{"s"}, Usage: "Specify a service to open the console into"}, &cli.StringFlag{Name: "region", Aliases: []string{"r"}, Usage: "Specify a region to open the console into"}, &cli.BoolFlag{Name: "active-role", Aliases: []string{"ar"}, Usage: "Open console using active role"}, &cli.BoolFlag{Name: "verbose", Usage: "Log debug messages"}, &cli.StringFlag{Name: "update-checker-api-url", Value: build.UpdateCheckerApiUrl, EnvVars: []string{"UPDATE_CHECKER_API_URL"}, Hidden: true}, &cli.StringFlag{Name: "granted-active-aws-role-profile", EnvVars: []string{"GRANTED_AWS_ROLE_PROFILE"}, Hidden: true}, }
Functions ¶
func AssumeCommand ¶
func AssumeCommand(c *cli.Context) error
func PrepareStringsForShellScript ¶ added in v0.1.6
func PrepareStringsForShellScript(in []string) []interface{}
PrepareCredentialsForShellScript will set empty values to "None", this is required by the shell script to identify which variables to unset it is also required to ensure that the return values are correctly split, e.g if sessionToken is "" then profile name will be used to set the session token environment variable
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.