Documentation
¶
Index ¶
Constants ¶
View Source
const ( // KVSecretsEngineMountPoint is the name of the mount point base for Vault's key-value secrets engine KVSecretsEngineMountPoint = "secret" // ConsulSecretEngineMountPoint is the name of the mount point base for Vault's Consul secrets engine ConsulSecretEngineMountPoint = "consul" // Vault's secrets engine type related constants KeyValue = "kv" Consul = "consul" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretsEngine ¶
type SecretsEngine struct {
// contains filtered or unexported fields
}
SecretsEngine is the metadata for secretstore secret engine enabler
func New ¶
func New(mountPoint string, engineType string) SecretsEngine
New creates an instance for SecretsEngine with mountPoint and engineType
func (SecretsEngine) Enable ¶
func (eng SecretsEngine) Enable(rootToken *string, lc logger.LoggingClient, client secrets.SecretStoreClient) error
Enable enables the specified secrets engine for the secretstore the rootToken is required and returns error if not provided or invalid token provided also returns error if unsupported / unknown secretsEngineType is used
Click to show internal directories.
Click to hide internal directories.