Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vault ¶
type Vault struct {
// contains filtered or unexported fields
}
Vault is the structure to get the secret client from go-mod-secrets vault package
func NewVault ¶
func NewVault(ctx context.Context, config vault.SecretConfig, lc logger.LoggingClient) Vault
NewVault is the constructor for Vault in order to get the Vault secret client
func (Vault) Get ¶
func (c Vault) Get(secretStoreInfo bootstrapConfig.SecretStoreInfo) (pkg.SecretClient, error)
Get is the getter for Vault secret client from go-mod-secrets
Click to show internal directories.
Click to hide internal directories.