We have shared credentials for schema migrations and per-app database users provisioned by CI, with their secrets stored in AWS Secrets Manager. It works, but we lack visibility into which service owns each user, and decommissioned services leave users and secrets behind.
We're on EKS with RDS, plus some Redshift and DocumentDB. I'm considering Vault or OpenBao and a separate repo for reviewed roles and grants, while keeping application migrations in their own repos. How much work is that to set up, how do you manage grants for the other databases, and is IAM authentication worth revisiting?
Mavlo.8t:
Usage visibility needs its own audit trail too. Issuing a credential and knowing which service is still using it are different things.