Skip to content

DEF CON 34 talks are here: 354 talks, summarized and searchable.

Browse DEF CON 34

Solving Secrets Sprawl Takes More Than Security: Why Machine Identity Is Everyone's Problem

Dwayne McDaniel

CloudTalks49 minIntermediateOpen on YouTube ↗

Where

Talks
LASCON 2025

Duration

49 min

Shows why secrets sprawl needs cross-team ownership and maps a path toward short-lived, federated workload identity.

Summary

Dwayne McDaniel opens by arguing that long-lived credentials, often called secrets sprawl, are among the largest risks organizations face, and that leaving the security team to take the blame after a breach misses the point. He describes non-human identities as the fast-growing majority of accounts in most enterprises and notes that credential abuse ranks as a leading root cause in recent breach reports. Drawing on public GitHub commit scanning, he reports that the share of repositories exposing a secret rose by about a quarter in each of the last two years, and that many leaked keys stay valid long after exposure.

The middle of the talk turns to ownership. McDaniel argues that responsibility for machine access is spread across security, developers, operations and executives, and that each group cares about different risks. He suggests framing the problem for executives and operations staff in terms of business risk and cost rather than fear. On the technical side, he walks through workload identity: services receive a verifiable identity at creation, exchange it for short-lived tokens, and so a leaked credential is worth little to an attacker. He points to recent Kubernetes features, SPIFFE and related IETF work, and secret managers as routes away from hard-coded keys.

The close offers a practical plan: inventory every credential, move secrets into a vault, use Git hooks to catch hard-coded values before they are committed, automate rotation, and make sure secrets can be revoked quickly during an incident. He stresses that this is a cross-team effort that needs budget and political will, and that security engineers should work inside developers' workflows rather than against them.

Related talks