vault ID

A label attached to Vault-encrypted data that names which password protects it, so one project can use different passwords for different environments.

In more detail

Written as label@source, for example prod@prompt, it lets Ansible pick the right password when several are available. The label is stored in the encrypted file's header. A vault ID is not access control by itself: security still comes from who can obtain each password.

Example

ansible-playbook site.yml --vault-id prod@prompt

Related terms

Taught in

References

Certification courses