SpinTheMic
Pro

Interview practice question

Rotating credentials managed by infrastructure code without downtime

Cloud & DevOps · Terraform and IaC · Experienced

Database credentials are created by Terraform and used by applications. How do you rotate them without downtime?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Avoid Terraform owning secret values long-term.
  • Managed rotation (Secrets Manager/Vault).
  • Dual credentials: create new, update apps, revoke old.
  • Apps read secrets dynamically.
  • Test rotation regularly.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics