Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrVaultURLMissing - this is the custom error, returned when vault url is missing ErrVaultURLMissing = errors.New("key vault URL is empty or missing") // ErrKeyMissing = this is the custom error, returned when the KeyVault key is missing ErrKeyMissing = errors.New("key vault key is empty or missing") // ErrKeyVersionMissing = this is the custom error, returned when the KeyVault key version is missing ErrKeyVersionMissing = errors.New("key vault key version is empty or missing") )
Functions ¶
This section is empty.
Types ¶
type KeyVault ¶ added in v0.2.0
type KeyVault struct {
// contains filtered or unexported fields
}
KeyVault struct represents Azure Key Vault
type MetadataHeader ¶ added in v0.2.0
type MetadataHeader struct {
Provider string `json:"provider"`
CryptVersion string `json:"crypt"`
AzureKeyVaultURL string `json:"kvURL"`
AzureKeyVaultKeyName string `json:"kvKey"`
AzureKeyVaultKeyVersion string `json:"kvKeyVer"`
}
MetadataHeader holds information about KeyVault key used to encrypt
Click to show internal directories.
Click to hide internal directories.