Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0.0.4"
Version The version of the CLI
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
OrgDomain string
OIDCAppID string
FedAppID string
AWSIAMIdP string
AWSIAMRole string
AWSSessionDuration int64
Format string
Profile string
QRCode bool
AWSCredentials string
HTTPClient *http.Client
}
Config A config object for the CLI
func NewConfig ¶
func NewConfig() *Config
NewConfig Creates a new config gathering values in this order of precedence:
- CLI flags
- ENV variables
- .env file
func (*Config) CheckConfig ¶
CheckConfig Checks that required configuration variables are set.
Click to show internal directories.
Click to hide internal directories.