Secrets management is the practice and tooling for storing, distributing, rotating and auditing credentials such as API keys, tokens and certificates.
Secrets management covers the full life of a non-human credential: creating it with minimum privilege, storing it encrypted, delivering it to the workload that needs it, rotating it, revoking it, and recording who used it. Dedicated systems include HashiCorp Vault, cloud services such as AWS Secrets Manager, Google Secret Manager and Azure Key Vault, Kubernetes Secrets with encryption at rest, and CI platforms' encrypted variables. The OWASP Secrets Management Cheat Sheet sets out the principles: centralise storage, automate provisioning and rotation, prefer short-lived and dynamically generated credentials, restrict access by identity, and log every access. The twelve-factor method adds that config, including credentials, should come from the environment and not live in code. In practice teams combine layers: a manager as the source of truth, environment injection at runtime, secret scanning in CI to catch mistakes, and policy to limit who and what can read each secret. Password managers cover the human side of the same problem and are increasingly used for developer credentials too. A good system also removes the secret from the reader's hands where possible, for example by performing the authenticated call on the caller's behalf. BotPassword does that for AI agents.