Prompt
I need a recommendation for secrets storage and rotation across AWS, GCP, and Azure.
Latest observation
For secrets storage and rotation across AWS, GCP, and Azure, the best practical recommendation is:
Recommended approach
Use a centralized secrets management layer with a cloud-native secret manager in each cloud, plus a single rotation workflow that works across all three.
Best-fit architecture
- AWS: AWS Secrets Manager
- GCP: Secret Manager
- Azure: Azure Key Vault
- Rotation/orchestration: a unified automation layer such as:
- HashiCorp Vault if you want true multi-cloud abstraction
- or CI/CD / Terraform / custom rotation jobs if you prefer to stay cloud-native
My recommendation by scenario
1) If you want the simplest and most cloud-native setup
Use each cloud’s native secret store:
- AWS Secrets Manager
- GCP Secret Manager
- Azure Key Vault
Pros
- Strong integration with IAM, logging, and workload identity
- Built-in encryption and access control
- Easier compliance and operational support
- Native rotation support in AWS; rotation patterns are straightforward in GCP/Azure via automation
Cons
- No single control plane
- Rotation logic may differ per cloud
- Cross-cloud portability is limited
This is usually the best choice if your workloads are mostly isolated per cloud and you can tolerate some duplication.
2) If you want one consistent system across all clouds
Use HashiCorp Vault as the central secrets platform, with cloud KMS integrations for encryption at rest and cloud IAM for auth.
Pros
- One API and one operational model across AWS/GCP/Azure
- Strong dynamic secrets support
- Centralized policy, auditing, and lease-based rotation
- Good for hybrid and multi-cloud environments
Cons
- More operational overhead
- You must run and secure Vault yourself, unless using a managed offering
- Adds another platform to govern
This is the best choice when portability and uniform rotation are top priorities.
Rotation guidance
A good rotation strategy usually includes:
- Short-lived credentials where possible
- Prefer dynamic credentials over static ones
- Examples: database creds issued on demand
- Automated rotation
- Rotate service account keys, DB passwords, API keys on a schedule
- Versioned secret management
- Keep prior versions temporarily for rollback
- Application reload support
- Apps should fetch secrets at startup or refresh them periodically
- Separation of duties
- Apps read secrets; humans approve rotation policies
Important design recommendation
Avoid storing the same secret manually in three separate places unless you have to. Instead:
- Keep the source of truth in one system
- Replicate only when necessary for application locality
- Use automation to sync or rotate secrets consistently
Security best practices
Regardless of platform:
- Use workload identity / IAM roles, not long-lived access keys
- Encrypt with customer-managed keys where required
- Enable audit logging and alert on secret access
- Restrict secrets by environment and application
- Rotate on credential compromise and on a regular schedule
- Prefer dynamic secrets for databases, cloud services, and SSH when possible
Practical recommendation summary
If I had to pick one answer:
- Most organizations: use native secret managers in each cloud plus a centralized rotation automation pipeline.
- True multi-cloud / portability / consistent governance: use HashiCorp Vault as the abstraction layer.
If you want, I can also provide:
- a decision matrix comparing AWS/GCP/Azure native options vs Vault, or
- a reference architecture for secret storage and rotation across all three clouds.