Documentation ¶
Index ¶
- func DecryptAWS(awsRegion, awsProfile, ciphertext string) (string, error)
- func DecryptAzure(azureVaultURL, azureKey, azureKeyVersion, ciphertext string) (string, error)
- func DecryptGCP(gcpProject, gcpLocation, gcpKeyring, gcpKey, ciphertext string) (string, error)
- func EncryptAWS(awsKms, awsRegion, awsProfile, plaintext string) ([]byte, error)
- func EncryptAzure(azureVaultURL, azureKey, azureKeyVersion, plaintext string) ([]byte, error)
- func EncryptGCP(gcpProject, gcpLocation, gcpKeyring, gcpKey, plaintext string) ([]byte, error)
- func TemplateFunctions() template.FuncMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptAWS ¶
DecryptAWS decrypts ciphertext using AWS KMS
func DecryptAzure ¶
DecryptAzure decrypts ciphertext using Azure Key Vault
func DecryptGCP ¶
DecryptGCP decrypts ciphertext using GCP KMS
func EncryptAWS ¶
EncryptAWS encrypts plaintext using AWS KMS
func EncryptAzure ¶
EncryptAzure encrypts plaintext using Azure Key Vault
func EncryptGCP ¶
EncryptGCP encrypts plaintext using GCP KMS
func TemplateFunctions ¶ added in v0.2.0
TemplateFunctions provides template functions for render or the standard (text/template) template engine
- encryptAWS - encrypts the data from inside of the template using AWS KMS, for best results use with gzip and b64enc
- decryptAWS - decrypts the data from inside of the template using AWS KMS, for best results use with ungzip and b64dec
- encryptGCP - encrypts the data from inside of the template using GCP KMS, for best results use with gzip and b64enc
- decryptGCP - decrypts the data from inside of the template using GCP KMS, for best results use with ungzip and b64dec
- encryptAzure - encrypts the data from inside of the template using Azure Key Vault, for best results use with gzip and b64enc
- decryptAzure - decrypts the data from inside of the template using Azure Key Vault, for best results use with ungzip and b64dec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.