Documentation
¶
Overview ¶
Package azure allows to fetch secrets from Azure keyvault service
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyVaultBackend ¶
type KeyVaultBackend struct {
Config KeyVaultBackendConfig
Client keyvaultClient
}
KeyVaultBackend is a backend to fetch secrets from Azure
func NewKeyVaultBackend ¶
func NewKeyVaultBackend(bc map[string]interface{}) (*KeyVaultBackend, error)
NewKeyVaultBackend returns a new backend for Azure
func (*KeyVaultBackend) GetSecretOutput ¶
func (b *KeyVaultBackend) GetSecretOutput(secretName string) secret.Output
GetSecretOutput returns a the value for a specific secret
type KeyVaultBackendConfig ¶
type KeyVaultBackendConfig struct {
KeyVaultURL string `mapstructure:"keyvaulturl"`
ClientID string `mapstructure:"clientid"`
}
KeyVaultBackendConfig contains the configuration to connect for Azure backend
Click to show internal directories.
Click to hide internal directories.