Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreConfig ¶
type CoreConfig struct {
IsProdPtr *bool
IsShell bool // If tool running in shell.
// Vault Configurations...
Insecure bool
CurrentTokenNamePtr *string // Pointer to one of the tokens in the cache... changes depending on context.
CurrentRoleEntityPtr *string // Pointer to one of the roles in the cache... changes depending on context.
TokenCache *cache.TokenCache
EnvBasis string // dev,QA, etc....
Env string // dev-1, dev-2, etc...
Regions []string
DynamicPathFilter string // Seeds from a specific path.
WantCerts bool
ExitOnFailure bool // Exit on a failure or try to continue
Log *log.Logger
}
This structure contains core properties central to Secrets engine access
func (*CoreConfig) GetCurrentToken ¶ added in v1.38.0
func (cc *CoreConfig) GetCurrentToken(tokenPattern string) *string
func (*CoreConfig) IsProd ¶ added in v1.38.0
func (cc *CoreConfig) IsProd() bool
Click to show internal directories.
Click to hide internal directories.