Configure Secrets
On AWS
- From the AWS console navigate to the
AWS secrets manager - Click
Store a new secret - Select
Other type of secret - Select
Plaintext - Remove the dictionary.
- Generate a secret key from the command line
pwgen -n 64 - Copy one of the keys into the plaintext input. Ensure that the key is the only string present
- Ensure that
Encryption keyhasaws/secretsmanagerselected - Click
Next - Give your secret a name. Convention is
<projectname>-ansible-vault-secret - Click
Next - Click
Nextagain.
Local
In deploy/echo-vault-pass.sh add the secret name to the export SECRET_ID line.
8 export SECRET_ID="<projectname>-ansible-vault-secret"
Last update:
2024-11-18