Pcornel
Security · Cloud Security

Secrets Management

Cheat sheet · https://pcornel.dk/topic.php?topic=5029

Back to the Topic

Answer

Cloud secrets management stores database passwords, API keys and tokens in services like AWS Secrets Manager, Azure Key Vault or Google Secret Manager, with IAM access control and automatic rotation.

Remember

  • Never put secrets in code or images.
  • Use IAM to limit access per secret.
  • Rotate automatically.

First checks

  • aws secretsmanager list-secrets — AWS
  • az keyvault secret list --vault-name <v> — Azure
  • gcloud secrets list — GCP

Verify in this order

workload identity → secret manager → secret

Where it usually breaks

First mismatch in platform/workload identity → desired configuration → management/control plane → runtime enforcement → telemetry → workload/resource outcome; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5029

Confirmation

Confirm action

Continue?