Secret management is the set of controls used to store, deliver, rotate, and audit sensitive credentials such as API keys, tokens, passwords, and certificates. Good secret management keeps secrets out of source code, chat prompts, logs, and other places where they can be copied or reused.
It matters because leaked credentials often let attackers move quickly: they can access cloud services, download data, modify builds, or impersonate users and automation. Defenders reduce this risk with vaults, short-lived credentials, least privilege, automatic rotation, and detailed access logs. In modern pipelines, just-in-time delivery is especially useful, because a tool or agent receives a secret only when a task needs it and loses access afterward. That shrinks the window for theft and limits the blast radius if a repository, workstation, or model context is exposed.


