Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // KMSConnection is the connection to the key management service // that's used to encrypt and decrypt secrets. KMSConnection string )
Functions ¶
func InvalidateKeeper ¶ added in v0.1.29
func InvalidateKeeper()
InvalidateKeeper drops the cached keeper so a KMSConnection change takes effect immediately instead of after the cache TTL.
func KeeperFromConnection ¶
Types ¶
type Ciphertext ¶
type Ciphertext []byte
func ParseCiphertext ¶
func ParseCiphertext(s string) (Ciphertext, error)
func (Ciphertext) MarshalJSON ¶
func (t Ciphertext) MarshalJSON() ([]byte, error)
func (Ciphertext) MarshalText ¶
func (t Ciphertext) MarshalText() ([]byte, error)
func (Ciphertext) String ¶
func (t Ciphertext) String() string
type Sensitive ¶
type Sensitive []byte
func (Sensitive) MarshalJSON ¶
func (Sensitive) MarshalText ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package keeper defines the envelope-encryption contract implemented by the KMS connections (AWS KMS, GCP KMS, Azure Key Vault) and the local keeper.
|
Package keeper defines the envelope-encryption contract implemented by the KMS connections (AWS KMS, GCP KMS, Azure Key Vault) and the local keeper. |
|
Package keychain keeps a persistent local KMS key in the operating system vault.
|
Package keychain keeps a persistent local KMS key in the operating system vault. |
Click to show internal directories.
Click to hide internal directories.