Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureKeyVault ¶
type AzureKeyVault struct {
// contains filtered or unexported fields
}
func Provider ¶
func Provider(config Config) (*AzureKeyVault, error)
func (*AzureKeyVault) ReadBytes ¶
func (kv *AzureKeyVault) ReadBytes() ([]byte, error)
type Config ¶
type Config struct {
// KeyVaultUrl key vault url
KeyVaultUrl string
// Delim is the delimiter to use
// when specifying config key paths, for instance a . for `parent.child.key`
// or a / for `parent/child/key`.
Delim string
// TokenCredential Token credential to connect to the Azure Keyvault.
// It can be created using client Id with client secret or client certificate.
TokenCredential azcore.TokenCredential
// If FlatPaths is true, then the loaded configuration is not split into
// hierarchical maps based on the delimiter. The keys including the delimiter,
// eg: app.db.name stays as-is in the confmap.
FlatPaths bool
}
Click to show internal directories.
Click to hide internal directories.