Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Version The version of the CLI
Version = "0.1.0"
)
Variables ¶
This section is empty.
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
WriteAWSCredentials bool
OpenBrowser bool
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.