Description Usage Arguments Value Note Examples
Encrypt a secret via KMS and prints the base64-encoded cipher-text to the console
1 | db_config_encrypt_secret(secret, key)
|
secret |
string of the actual secret to be encrypted/stored |
key |
Amazon KMS key to be used for the encryption |
base64-encoded cipher-text
You need to have access to the related KMS key to be able to decrypt cipher-text
1 2 3 4 | ## Not run:
encrypt_secret('secret sentence I want to store in the YAML file')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.