secret store
A dedicated service that stores secrets such as passwords and keys, controls who may read them and records each access.
In more detail
Examples include HashiCorp Vault, AWS Secrets Manager and CI systems' protected variables. Programs fetch secrets at run time, so secrets never sit in files or repositories.
Example
A vault password script can fetch the Ansible Vault password from a secret store at run time.Related terms
- secret — Any value that grants access, such as a password, access token or private key, and must be kept out of code and version control.
- vault password — The password that unlocks Vault-encrypted data; Ansible needs it at run time and it must never be stored in the repository.
- access control — The rules and mechanisms that decide who may read, use or change a resource.
- audit trail — A record of who did what and when, kept so actions can be reviewed and investigated later.
Taught in
- Vault IDs And Multiple Passwords — Ansible Configuration Management at Scale