What is secret sprawl?
Secret sprawl is the gradual spread of passwords, API keys, tokens and other credentials into places nobody tracks, such as chat history, tickets, code repositories, documents and logs.
How it happens
Nobody decides to scatter secrets. It happens one convenient shortcut at a time: a database password pasted into Slack during an incident, an API key in a support ticket, a token committed to a repository "just for testing", credentials in a shared onboarding document, a connection string printed in a CI log.
Why it is a problem
Each copy is a way in. Chat and ticket systems are searchable, so an attacker who gets into one account can search for "password" or "key" across years of history. Copies also make rotation unreliable: if you don't know where a key went, you can't be sure changing it in one place closed every door.
How to reduce it
- Store long-lived secrets in one place, such as a password manager or a secrets manager
- Share secrets with one-time links, so chat and tickets only hold dead links
- Scan repositories and logs for accidentally committed secrets
- Rotate keys that have been exposed rather than only deleting the message
- Give each person and system its own credential, so one can be revoked without affecting the rest
Read how to share API keys safely with your team, or see how the Slack app keeps secrets out of channel history.
Konfidant shares passwords, keys and files through one-time links, encrypted on your device and deleted after the first view.
Try it free