Least privilege per service — each workload gets only the secrets it needs, nothing more
Audit every access — every read from a secret store must be logged for forensic use
Reference Files
references/vault-cloud-sops.md — Core principles, HashiCorp Vault HA/auto-unseal/KV v2/dynamic secrets/Kubernetes auth/audit backend, AWS Secrets Manager and GCP Secret Manager resource policies and rotation, SOPS encryption with KMS/PGP and Helm secrets plugin, Bitnami Sealed Secrets with kubeseal and key rotation schedule, rotation policy schedules by secret type (DB/API/TLS/SSH/tokens)
references/injection-cicd.md — Zero-trust runtime injection patterns, Vault Agent Injector annotations, CSI Secret Store Driver SecretProviderClass, file-based injection preference rationale, startup env var validation pattern, GitHub Secrets and GitLab CI Variables scoping, OIDC federation for AWS and GCP from GitHub Actions/GitLab CI, CI log masking verification
Best Practices Checklist
No secrets in source code, Dockerfiles, or CI configs
Centralized secret store (Vault, cloud-native, or SOPS)
Automated rotation with defined schedules
Least-privilege access policies per service
Audit logging enabled for all secret access
Runtime injection, not build-time baking
OIDC federation for CI/CD cloud authentication
.env files excluded from version control
Use this skill with your AI agent:Open on Skill Issue to copy, download, or add to your library.
Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.