TL;DR: Secretless OCI access replaces stored keys with SPIFFE-based workload identities and runtime token exchange, allowing the OCI CLI to authenticate without secrets on disk or in application code, according to Riptides. The governance shift is clear: access now depends on verifiable workload identity and runtime enforcement, not durable credentials.
At a glance
What this is: This is a walkthrough of secretless OCI authentication using SPIFFE-based workload identity, with the key finding that workloads can access OCI without storing or managing credentials.
Why it matters: It matters because IAM teams must govern workload identity, federation, and runtime enforcement differently from human login flows, static secrets, and traditional service-account patterns.
👉 Read Riptides' secretless OCI authentication walkthrough with SPIFFE workload identity
Context
Secretless OCI authentication is the practice of letting a workload prove who it is at runtime instead of presenting a stored secret. The article shows that this changes the security model for OCI access because the application no longer owns the credential lifecycle, the platform does.
For IAM and NHI teams, the practical issue is not whether secrets can be rotated faster. It is whether workloads can be authorized through verifiable identity, short-lived exchange, and destination-scoped enforcement without creating a new secret-management burden.
The article's starting point is typical of modern cloud and SDK integrations: the client expects credentials, while the security model increasingly needs the workload to be authenticated without ever handling them. That tension is now a governance problem, not just an implementation detail.
Key questions
Q: How should security teams replace OCI credentials with workload identity?
A: Security teams should first register a trusted workload identity issuer, then map that identity to a narrowly scoped OCI principal, and finally bind access to the specific workload and destination. The goal is to make authorization depend on verifiable identity and runtime exchange, not on keys that an application can copy or leak. The strongest designs keep the application out of the credential lifecycle entirely.
Q: Why do secretless workloads change the NHI governance model?
A: Secretless workloads change the model because the security object is no longer a stored credential. Instead, the governance target becomes the trust relationship, the workload binding, and the runtime path that produces short-lived access. That means NHI teams need controls for federation, scope, and revocation, not only rotation and vaulting. The shift is from secret custody to identity assurance.
Q: What breaks when applications still expect local credentials?
A: What breaks is the assumption that the client must own a reusable secret to authenticate. If the platform injects credentials at runtime, local files, environment variables, and static configuration become unnecessary attack surface. Teams that keep designing around local credential ownership will over-invest in rotation and under-invest in identity binding and request-time enforcement.
Q: How do you know secretless access is actually reducing risk?
A: You know it is working when the application never stores usable credentials, authentication is issued just in time for the request, and access is limited to the approved workload and endpoint. You should also verify that refresh happens transparently and that the same workload cannot reuse the credential from another process. Those are the signs that risk has moved out of the app boundary.
Technical breakdown
SPIFFE-based workload identity for OCI access
SPIFFE provides a cryptographically verifiable workload identity through a stable subject name, typically represented as a SPIFFE ID. In this pattern, the workload presents an identity token rather than a reusable secret. OCI then maps that identity to an IAM principal through federation, which means authorization depends on who the workload is at runtime, not on a key file or token stored with the client. This removes the credential from the application boundary and moves trust into the identity layer.
Practical implication: treat workload identity registration and federation trust as core access controls, not optional plumbing.
On-the-wire credential injection and request signing
On-the-wire credential injection means the platform intercepts an outbound request, fetches or derives short-lived credentials, and signs the request immediately before transmission. The application still thinks it is calling OCI normally, but the credentials never exist in its filesystem, environment, or code. The security value comes from the timing and location of enforcement. By signing at the kernel boundary, the platform constrains credential exposure to a narrow runtime moment and reduces the blast radius of application compromise.
Practical implication: validate whether enforcement really happens at request time, not earlier in app startup or container bootstrap.
Workload credential binding and destination scoping
The article shows a two-step binding model: a credential source defines how temporary OCI credentials are obtained, and a workload credential ties that source to a specific workload identity. The workload identity then applies only to matching processes and approved egress destinations. That means access is not just identity-bound but destination-bound, which is important because many credential leaks happen when broadly scoped secrets can be reused outside their intended path. This is a governance control as much as a technical one.
Practical implication: scope workload credentials to both process identity and allowed destination, then review whether those scopes are narrower than the underlying IAM principal.
Breaches seen in the wild
- MongoBleed breach — MongoBleed exposed secrets across 87K MongoDB servers.
- IOS app secrets leakage report — iOS apps leaking hardcoded secrets and credentials endangering user privacy.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Secretless access does not eliminate NHI governance, it relocates it. The control question shifts from where the secret lives to how the workload proves identity and receives a time-bound authorization decision. That matters because the application is no longer the bearer of a durable credential, but it still represents a non-human identity with access rights. Practitioners need to govern workload identity, federation trust, and runtime scope as one access path, not three separate tools.
Static credential management is the wrong control plane for cloud workloads that can authenticate on demand. The article shows a model where authentication is derived at runtime, which means the old assumption that a client must carry a reusable secret is no longer necessary. That breaks the traditional service-account pattern in which possession of a key implies authority. For IAM teams, the implication is that privilege review must move from stored credential inventories to trust relationships and destination policy.
Secretless OCI authentication sharpens a named concept: runtime identity binding. This is the point where workload identity, federation, and request signing meet at the moment of access rather than during provisioning. The value is not just fewer secrets. It is that access becomes observable and enforceable at execution time, which changes how NHI programs think about attack surface, offboarding, and lateral use of credentials. Practitioners should treat this as a control model, not a feature.
Workload identity becomes the durable security object, not the secret. The article makes clear that the service user, the OIDC trust, and the SPIFFE subject are the real governance artefacts. That means lifecycle questions move upstream into identity issuance, binding, and trust revocation. The practical conclusion is that cloud IAM teams must audit identity federation the same way they audit privileged access, because the workload is now the thing being authenticated.
Process-level enforcement closes a class of secret-exposure failures that application-only controls miss. By injecting credentials at the kernel boundary, the platform reduces reliance on SDK hooks, environment variables, or files that attackers commonly target. This is the same structural lesson seen in many NHI incidents: the smaller the window in which a secret exists, the less useful it is to an attacker. Practitioners should use that principle to re-evaluate where their access boundary actually lives.
From our research:
- 57% of organisations lack a complete inventory of their machine identities, according to The Critical Gaps in Machine Identity Management report.
- 61% rely on spreadsheets or manual tracking for machine identity management, which means many runtime identity decisions still sit on weak operational foundations.
- Secretless access only scales when teams pair it with inventory and lifecycle discipline, as explored in Ultimate Guide to NHIs.
What this signals
Runtime identity binding will keep moving NHI governance away from vault-centric thinking. As more workloads authenticate through federation and short-lived exchange, the control point becomes the trust relationship rather than the stored secret. That changes procurement, architecture review, and operational ownership for workload access.
With 59% of companies saying machine identities are harder to audit because of unclear ownership and limited visibility, the problem in secretless designs is not just implementation. It is whether the organisation can prove who the workload is, who owns it, and which destination it is allowed to reach.
Identity blast radius becomes the right lens for evaluating secretless patterns. If a workload identity can only reach one service and cannot be replayed outside its approved path, the blast radius is smaller even when the underlying application is compromised. That is why workload identity and destination scoping belong in the same design discussion.
For practitioners
- Inventory workload identities before replacing secrets Map every OCI-facing workload to a named identity, an approved destination, and a responsible owner before introducing secretless access. Without that inventory, you only hide the secret while leaving the privilege structure untouched.
- Separate federation trust from application access Establish the trust relationship between OCI and the identity issuer as a distinct control, then review it like any other privileged federation path. Keep the application out of the credential lifecycle so the security model stays inspectable.
- Scope credentials to process and endpoint together Bind each workload credential to a specific process identity and a narrow egress target set, then test that the credential cannot be reused from another process or destination. Narrow scoping is what makes runtime injection defensible.
- Validate kernel-bound enforcement assumptions Confirm where signing, credential derivation, and refresh actually occur in your stack, and verify that the application never receives reusable material in memory or on disk. If enforcement happens too early, the model degrades back into secret management.
- Document fallback paths for clients that cannot inject on the wire For workloads that must use file-based configuration, keep credentials in tightly controlled system-accessible paths and restrict them to the matching workload identity. The fallback should preserve the same least-exposure principle, not recreate local secret sprawl.
Key takeaways
- Secretless OCI access replaces application-held secrets with runtime workload identity, which changes the core governance object from credential custody to trust binding.
- The article shows why manual machine-identity handling remains fragile, especially when organisations still lack complete inventories and rely on ad hoc tracking.
- Practitioners should focus on identity federation, process-bound enforcement, and destination scoping if they want secretless access to reduce real risk rather than simply relocate it.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST Zero Trust (SP 800-207) and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | The article removes static secrets from OCI workload access. |
| NIST Zero Trust (SP 800-207) | PR.AC-4 | Access is granted by identity and destination scope, not network trust. |
| NIST CSF 2.0 | PR.AC-1 | Federation trust and runtime authorization are access-control concerns. |
Replace stored keys with short-lived workload credentials and validate that no app-owned secret remains.
Key terms
- Workload Identity Federation: A method that lets a workload prove its identity to one system and receive access from another without carrying a long-lived secret. In practice, the issuing system vouches for the workload through signed tokens, while the target system maps that proof to an authorization decision and short-lived credentials.
- On-the-wire Credential Injection: A runtime pattern where credentials are inserted into an outbound request immediately before it leaves the host. The application does not store or handle the credential directly, which reduces local exposure and shifts enforcement to the platform boundary where the request is signed and sent.
- Runtime Identity Binding: The practice of tying a workload’s permissions to its live execution identity rather than to a static file, token, or deployment artefact. It makes access dependent on the running process, its approved destination, and the platform’s ability to verify and enforce that relationship at request time.
- SPIFFE ID: A SPIFFE ID is a stable, cryptographically verifiable identifier for a workload. It gives systems a portable way to recognize the workload across environments, so access decisions can be anchored to identity rather than to hostnames, images, or manually managed credentials.
Deepen your knowledge
Secretless OCI authentication and SPIFFE-based workload identity are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are replacing local secrets with runtime-bound access, this course helps you frame the governance model correctly.
This post draws on content published by Riptides: Federation Secretless OCI Authentication with SPIFFE-based workload identity. Read the original.
Published by the NHIMG editorial team on 2026-01-12.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org