Documentation ¶
Overview ¶
Package kms provides Key Management Services support
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseSecret ¶
type BaseSecret struct { Status SecretStatus `json:"status,omitempty"` Payload string `json:"payload,omitempty"` Key string `json:"key,omitempty"` AdditionalData string `json:"additional_data,omitempty"` // 1 means encrypted using a master key Mode int `json:"mode,omitempty"` }
BaseSecret defines the base struct shared among all the secret providers
type SecretStatus ¶
type SecretStatus = string
SecretStatus defines the statuses of a Secret object
const ( // SecretStatusPlain means the secret is in plain text and must be encrypted SecretStatusPlain SecretStatus = "Plain" // SecretStatusAES256GCM means the secret is encrypted using AES-256-GCM SecretStatusAES256GCM SecretStatus = "AES-256-GCM" // SecretStatusSecretBox means the secret is encrypted using a locally provided symmetric key SecretStatusSecretBox SecretStatus = "Secretbox" // SecretStatusGCP means we use keys from Google Cloud Platform’s Key Management Service // (GCP KMS) to keep information secret SecretStatusGCP SecretStatus = "GCP" // SecretStatusAWS means we use customer master keys from Amazon Web Service’s // Key Management Service (AWS KMS) to keep information secret SecretStatusAWS SecretStatus = "AWS" // SecretStatusVaultTransit means we use the transit secrets engine in Vault // to keep information secret SecretStatusVaultTransit SecretStatus = "VaultTransit" // SecretStatusAzureKeyVault means we use Azure KeyVault to keep information secret SecretStatusAzureKeyVault SecretStatus = "AzureKeyVault" // SecretStatusRedacted means the secret is redacted SecretStatusRedacted SecretStatus = "Redacted" )
Click to show internal directories.
Click to hide internal directories.