Foxcolab

Glossary

Secrets management

Definition

Secrets management: The practice and tooling for storing, distributing, rotating, revoking and auditing the credentials systems run on, such as API keys, database passwords, certificates and encryption keys, so that no secret lives in source code, chat or unprotected files.

Also known assecrets managersecret managementcredential vaulting

In short

Secrets management is the practice and tooling for storing, distributing, rotating, revoking and auditing machine credentials such as API keys, database passwords, certificates and encryption keys. OWASP recommends one central store with fine-grained access, automated rotation, immediate revocation of exposed secrets and audit logs of who read what. The goal is that no secret sits in code, chat or a forgotten file.

Key takeaways

  • Secrets include API keys, database credentials, SSH keys, certificates and encryption keys.
  • A central store cuts down on copies scattered through code, wikis and chat.
  • Rotate automatically, and revoke at once when a secret is exposed.
  • Log every read and change so you can tell who had a secret when it leaked.
  • Recovery keys are secrets too, and often the most sensitive ones you hold.

Last reviewed 4 December 2026 by Foxcolab Team

Secrets management is how an organization stores, hands out, rotates, revokes and audits the credentials its systems run on: API keys, database passwords, certificates, SSH keys and encryption keys. OWASP's Secrets Management Cheat Sheet notes that "many organizations have them hardcoded within the source code in plaintext," which is the problem a secrets manager exists to fix.

The core practices#

  • Centralize. "Centralizing secrets storage reduces secret sprawl." One store means one place to set access rules and one place to look after a leak.
  • Grant narrowly. Each app or person gets only the secrets it needs.
  • Rotate automatically. OWASP recommends automated rotation for static credentials and keys, triggered "immediately upon suspected compromise."
  • Revoke on exposure. "Keys that were exposed should undergo immediate revocation," then a new secret is issued.
  • Audit. Logs of every read, rotation and failed request show who had a secret, and when.

A worked example#

A small team's web app connects to its database with a password stored in config/.env, committed to Git two years ago. In the secrets-managed version, the app reads the password from the secrets store when it starts, using an identity granted read access to that one secret. The password rotates every 90 days without a deploy. When a contractor leaves, nobody wonders which laptops still hold a copy.

Where secrets leak#

Git history, CI build logs, screenshots in tickets, and "just this once" messages in team chat. Deleting a committed file doesn't remove it from history, so a leaked secret must be treated as burned: revoke it, replace it, then clean up. OWASP also recommends scanning for secrets before code is committed.

In Foxcolab#

Every Foxcolab account comes with a secret worth managing. The recovery key shown on the Save your recovery key page lets you reset a forgotten password and keep your end-to-end encrypted work readable, so store it offline or in a password manager. Organizations also get an organization recovery key, and Foxcolab says of it: "We show it only once, don't keep it in this browser, and can't recover it for you." Whoever holds it can reset the password of any account on your organization's domains and keep its data readable, so treat it as your most privileged secret and limit who can reach it.

Developers get the same discipline in Foxcolab Forms: a webhook's Signing secret is shown once, and New signing secret replaces it at once if it leaks (webhooks). For teams, see Foxcolab for enterprise.

Keep exploring

All terms

Foxcolab

Private work tools, without the ads.

Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.

Jump to