Documentation ¶
Overview ¶
package config stores configuration around user onboarding to granted used to display friendly CLI hints and save progress in multi-step workflows, such as deploying Granted services to a user's cloud environment.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrantedConfigFolder ¶
func SetupConfigFolder ¶
func SetupConfigFolder() error
checks and or creates the config folder on startup
func SetupZSHAutoCompleteFolderAssume ¶ added in v0.2.1
checks and or creates the config folder on startup
func SetupZSHAutoCompleteFolderGranted ¶ added in v0.2.1
checks and or creates the config folder on startup
Types ¶
type Config ¶
type Config struct { DefaultBrowser string // used to override the builtin filepaths for custom installation locations CustomBrowserPath string CustomSSOBrowserPath string LastCheckForUpdates time.Weekday Keyring *KeyringConfig `toml:",omitempty"` Ordering string ExportCredentialSuffix string // AccessRequestURL is a Granted Approvals URL that users can visit // to request access, in the event that we receive a ForbiddenException // denying access to assume a particular role. AccessRequestURL string `toml:",omitempty"` }
func NewDefaultConfig ¶ added in v0.2.3
func NewDefaultConfig() Config
NewDefaultConfig returns a config with OS specific defaults populated
Click to show internal directories.
Click to hide internal directories.