Skip to content
Free since 2015. Built for the engineers who keep things running.

cat /articles/from-exposed-secrets-to-managed-credentials-reducing-credential-risk-across-the-application-lifecycle.md

Security

From exposed secrets to managed credentials: Reducing credential risk across the application lifecycle

A deleted credential can remain exposed in Git history, so this piece argues teams should find leaked secrets, revoke or rotate them, and then move them into centralized management.

HashiCorp Blog17 Nov 2026 · 6 min read · summary

article --summary

The summary

This vendor article uses a recent supply chain attack on GitHub repositories to make a point about leaked credentials: removing a secret from the latest code does not make it safe, since it may persist in commit history, remain active, or be copied into tickets, logs, and other tools. The reader learns why discovery matters, and why revoking or rotating a live credential comes before anything else. The second half covers what comes after discovery. Putting a replacement key back into source code just recreates the problem, so the article recommends storing credentials in a central manager, having applications fetch them at runtime, and using short-lived dynamic credentials where a service supports them. It also notes that many static credentials will remain, and those still need controlled access and rotation. The article's main takeaway is that the goal is to reduce the number of unmanaged credentials that can be stolen, not just to clean up a repository. It promotes two HashiCorp products, Vault Radar for finding exposed secrets and Vault for managing them, and points to a credential risk whitepaper for more detail.

Editorial note: This is a summary of an article first published by HashiCorp Blog. The full piece is on their site.

Reading now

Topic
Security
Source
HashiCorp Blog
Published
17 Nov 2026
Format
Curated summary

Have a take on this?

Write it up and submit it. It goes on the list once an editor approves it.

Submit an article

articles --latest

Latest articles

New from the blogs we follow and the community.

All articles

newsletter --weekly

DevOps Weekly, minus the noise.

The best reads, new jobs and upcoming events, in one email a week.