package
0.7.0
Repository: https://github.com/kionsoftware/kion-cli.git
Documentation: pkg.go.dev

# Functions

CARSelector is a wizard that walks a user through the selection of a Project, then associated Accounts, then available Cloud Access Roles, to set the user selected Cloud Access Role.
CreateSubShell creates a sub-shell containing set variables for AWS short term access keys.
FindCARByName returns a CAR identified by its name.
LoadConfig reads in the configuration yaml file located at `configFile`.
MapAccounts transforms a slice of Accounts into a slice of their names and a map indexed by their names.
MapAccountsFromCARS transforms a slice of CARs into a slice of account names and a map of account numbers indexed by their names.
MapCAR transforms a slice of CARs into a slice of their names and a map indexed by their names.
MapFavs transforms a slice of Favorites into a slice of their names and a map indexed by their names.
MapIDMSs transforms a slice of IDMSs into a slice of their names and a map indexed by their names.
MapProjects transforms a slice of Projects into a slice of their names and a map indexed by their names.
OpenBrowser opens up a URL in the users system default browser.
OpenBrowserDirect opens up a URL in the users system default browser.
PrintCredentialProcess prints out the short term access keys for use with AWS profiles as a credential process subsystem.
PrintSTAK prints out the short term access keys for AWS auth.
PromptInput prompts the user to provide dynamic input.
PromptPassword prompts the user to provide sensitive dynamic input.
PromptSelect prompts the user to select from a slice of options.
RunCommand executes a one time command with AWS credentials set within the environment.
SaveAWSCreds saves the short term access keys for AWS auth to the users AWS configuration file.
SaveConfig saves the entirety of the current config to the users config file.