An offboarded contractor still has a private SSH key saved in the "Downloads" folder of a shared workstation. The key can be used by anyone who logs into that machine, and the same credential appears in multiple CI pipelines because the team copied it into a repository for convenience. When a new developer joins, the same repository is cloned, spreading the secret further. The organization believes it has "secrets management" because it stores keys in a vault, yet the vault is never consulted during day‑to‑day computer use. The result is a landscape where secrets roam freely on desktops, in CI logs, and in temporary files, all outside any control or audit.
Why the current approach falls short
In the real world, most engineers reach for a credential directly from their terminal or from a script. The setup, identity providers, OIDC tokens, service accounts, and role bindings, determines who can request a connection, but it does not inspect the traffic that carries the secret. Without a gate in the data path, the following gaps remain:
- Plain‑text passwords or API keys can be echoed in command history.
- Automated jobs can reuse the same secret across environments, creating a single point of failure.
- There is no replay‑proof record of which user actually issued a command that accessed a database or server.
- Sensitive fields returned by a service (for example, credit‑card numbers in a query result) are sent back to the client unchanged.
These gaps exist even when the organization has a vault, role‑based access control, and MFA. The enforcement mechanisms, masking, approval, session recording, must sit where the request and response travel, not merely at the authentication layer.
What a true secrets‑management gateway must provide
The missing piece is a layer‑7 proxy that sits between the identity system and the target infrastructure. This gateway becomes the sole point where every request is inspected, and where the following enforcement outcomes are applied:
- Inline data masking, sensitive fields are redacted before they leave the target.
- Just‑in‑time (JIT) access, the gateway grants a short‑lived credential only for the duration of the approved session.
- Approval workflows, risky commands are routed to a human approver before execution.
- Session recording and replay, each interaction is captured for later audit.
All of these outcomes rely on the gateway being the data path. If the gateway were removed, none of the above would happen, even though the identity setup remains unchanged.
