Secrets management

From rnavarych/alpha-engineer · View interactive version

Secrets management is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. Secrets management expertise covering HashiCorp Vault, AWS Secrets Manager, GCP Secret Manager, SOPS, Kubernetes sealed secrets, rotation policies, zero-trust injection, environment variable management, and CI/CD secrets handling.

How to use this skill

Skill file

Secrets Management

When to use

Core principles

  1. Never at build time — secrets injected at runtime, never baked into images or configs
  2. Files over env vars — file-based injection doesn't leak via process listings or error reports
  3. Rotate everything automatically — manual rotation processes become forgotten security debt
  4. Least privilege per service — each workload gets only the secrets it needs, nothing more
  5. Audit every access — every read from a secret store must be logged for forensic use

Reference Files

Best Practices Checklist

  1. No secrets in source code, Dockerfiles, or CI configs
  2. Centralized secret store (Vault, cloud-native, or SOPS)
  3. Automated rotation with defined schedules
  4. Least-privilege access policies per service
  5. Audit logging enabled for all secret access
  6. Runtime injection, not build-time baking
  7. OIDC federation for CI/CD cloud authentication
  8. .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.