A new hire needs access to staging vault only. How do you set that up?
BeginnerScenarioSecurity: Vault, Become and Compliance
Answer
Situation read → Least-privilege secrets.
What I'd do → Give them only the staging vault ID password and use separate vault files per environment so the prod files remain unreadable.
Why → The prod password is never shared, so prod files stay opaque to them.
Interview tip → Combine with separate inventories and CI roles.
More on Security: Vault, Become and Compliance
Database passwords are sitting in plain text in `group_vars`. How do you fix it?BeginnerYou need separate vault passwords for staging and prod.IntermediateHow do you change the vault password for all encrypted files?IntermediateA CI pipeline needs the vault password without storing it in the repo.IntermediateYou want to see the value inside an encrypted file without writing a decrypted copy to disk.BeginnerOnly one value in a vars file is secret and you want it in the same file as plain values.Beginner