Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VaultCrypter ¶
type VaultCrypter struct {
// contains filtered or unexported fields
}
VaultCrypter is an implementation of the Crypterer interface using HashiCorp Vault's Transit secrets engine.
func (*VaultCrypter) Decrypt ¶
Decrypt decrypts ciphertext to plaintext using the Transit secret engine's Decrypt endpoint.
See: https://www.vaultproject.io/api-docs/secret/transit#decrypt-data
func (*VaultCrypter) Encrypt ¶
Encrypt encrypts plaintext to ciphertext using the Transit secret engine's Encrypt endpoint.
See: https://www.vaultproject.io/api-docs/secret/transit#encrypt-data
Click to show internal directories.
Click to hide internal directories.