Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TemplateFunctions ¶ added in v0.0.5
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 ¶
type Crypt ¶
type Crypt interface {
Crypter
EncryptFile(inputPath, outputPath string) error
DecryptFile(inputPath, outputPath string) error
}
Crypt is an abstraction for encryption and decryption with files support
Click to show internal directories.
Click to hide internal directories.