How Render Delivers Short-Lived OIDC Tokens to Services
Render uses signed, hour-long OIDC tokens and a host-side daemon to give services provider access without long-lived API keys.

Render’s OIDC feature removes a familiar credential chore: services can authenticate to external providers such as AWS, GCP, OpenAI and Anthropic without teams creating long-lived API tokens. The configuration is meant to be simple, but delivering credentials securely to applications running in isolated containers takes a small system of its own.
The design combines signed tokens, claims that constrain where each token can be used, and a host-side daemon that keeps token files available and fresh. Its practical value is straightforward: application teams can use provider SDKs that already understand OIDC, while Render handles token creation and renewal outside the application.
What a Render OIDC token contains
A Render service authenticates by presenting an OIDC token: a JSON payload containing information about the service, including its ID and environment. Render signs the payload cryptographically. A provider can check that signature against public validation keys hosted by Render, which lets it verify that the token came from Render and has not been altered.
The payload’s individual fields are called claims. Each gives the receiving provider information it can use to decide whether to accept the token. The design relies on several claims working together: issuance and expiration times limit how long a token remains useful; the subject identifies the service; the issuer ties the token to a Render workspace; and the audience identifies the intended recipient.
An hour to balance exposure and availability
Render tokens expire 60 minutes after they’re issued. Once that deadline passes, a provider should reject the token. That limits the useful life of a credential if it’s exposed, without requiring teams to rotate a manually created key.
Shorter expiry times would reduce the window in which a leaked token could be used. They would also make the feature more sensitive to a disruption in token issuance: services relying on existing tokens would begin to lose access sooner. Render describes the one-hour lifetime as a balance between limiting exposure and leaving time to recover if issuing new tokens becomes unavailable. That choice makes the availability of the renewal system part of the security design, not just an operational detail.
Subject and issuer narrow the trust boundary
The subject claim, sub, identifies the Render service to the external provider. For AWS, an IAM role’s trust relationship can use this value to decide which Render services may assume the role. A subject based only on a service ID can authorize one service. Render’s format also includes environment and workspace IDs, making it possible to grant access to a group of services through a shared trust rule.
For example, a team can specify an environment and use a wildcard for the service ID, allowing services in that environment to assume a role. Other combinations can cover a workspace or restrict access to an individual service. The flexibility is useful, but broad subject rules can also create a problem: a provider configuration that does not check the subject could accept tokens from services beyond the intended workspace.
Render adds a workspace ID to the issuer claim, iss. An issuer URL looks like https://oidc.render.com/tea-yourworkspaceid. The URL identifies who issued the token and points the provider to Render’s public validation keys. Including the workspace in that identity creates an additional boundary: providers treat each workspace URL as a separate identity provider, even though the URLs serve the same public keys.
That separation limits the reach of a broad or mistaken subject rule. If a provider is set up to trust a workspace’s issuer, tokens issued for another Render workspace won’t be accepted through that trust configuration. This protection does not remove the need to configure access carefully, but it reduces the consequences of failing to restrict a role to specific service IDs.
There’s a configuration cost for teams that use multiple Render workspaces: each workspace must be trusted separately. Render says most customers have one or two workspaces, so it expects this to be an uncommon burden. Teams with more may need to account for that repetition when setting up provider access.
Audience prevents tokens from being reused elsewhere
The audience claim, aud, names the token’s intended recipient. For AWS, Render uses sts.amazonaws.com. At first, the field may seem redundant: AWS already knows it is receiving the token. Its purpose becomes clearer when more than one provider is involved.
A token accepted by multiple providers could otherwise be presented to one provider and then reused against another. The audience lets the recipient reject a token intended for someone else. Each provider’s tokens therefore need distinct audiences, and the receiving service must be configured to expect the correct one. Render sets audiences according to the provider, with the aim of ensuring that tokens for different providers can’t be substituted for one another.
Together, subject, issuer and audience address different questions. The subject says which service is asking; the issuer identifies the workspace that produced the token; and the audience says which provider should receive it. The controls are strongest when the provider checks all of them as intended.
Why Render writes tokens to files
Creating and signing a token is only part of the implementation. Render also has to make one available whenever an application’s provider SDK needs credentials, then replace it before it expires. The application may authenticate at startup, later during a request, or on another schedule; Render can’t assume when a particular SDK will read a token.
One possible design would let an SDK request a fresh token from an endpoint whenever necessary. Render says the available options don’t provide a consistent basis for doing this across providers. AWS has an endpoint-based credential setting, AWS_CONTAINER_CREDENTIALS_FULL_URI, but Render describes its behavior as undocumented and inconsistent across language clients and SDK versions. In some cases, it accepts only IP addresses used internally by Amazon EKS. Render also says other providers lack comparable settings.
Reading a token from a file is a more common option among provider SDKs. The file path is often configurable through an environment variable: AWS, for example, uses AWS_WEB_IDENTITY_TOKEN_FILE. This approach means the file must be present before the application needs it and remain current, even though the SDK doesn’t tell Render exactly when it will read it.
A daemon writes into a shared in-memory directory
Render services run in separate containers, and Render says it doesn’t run an agent alongside each application with access to its filesystem. The tokens are specific to each service and need regular refreshes, so they can’t simply be placed in a reusable image. Custom images add another constraint: Render can’t assume they contain a particular helper program.
Render’s solution is an OIDC Daemon that runs outside each service container. It can create and sign tokens, with access limited to the task of making those credentials available. When a service instance that needs OIDC starts, Render sets up a read-only bind mount from /var/lib/render/oidc/ inside the container to a directory on the host. The daemon has a mount to that same directory and can write the token files there, while the service can read them.
The shared directory sits under /dev/shm, a virtual in-memory filesystem. That keeps the token files out of persistent disk storage. The daemon writes the required tokens before the service starts, then watches the files and updates them periodically so they don’t expire unnoticed.
Render also configures each provider’s expected credential mechanism. AWS can use the token file path supplied through its environment variable. GCP needs a credential configuration file written to disk as well. The application can then rely on the provider’s standard tooling to read credentials, while Render manages the files and their renewal.
The tradeoff behind the simple setup
For teams, the payoff is fewer manually managed secrets and less application-specific credential code. The provider SDKs still handle authentication in their usual way; Render supplies the short-lived identity material they need. That can reduce exposure compared with long-lived API tokens, while avoiding a separate refresh implementation in each service.
The approach also creates operational dependencies. A service needs access to the right provider configuration, a valid token file, and a working renewal path. Teams should understand which workspace issuer and audience their provider trusts, and which services their subject rules permit. Those details determine the actual access boundary.
Render’s design turns OIDC’s token rules into an infrastructure feature by taking responsibility for issuing, storing temporarily and refreshing credentials. The main question to watch is how consistently provider SDKs support this file-based flow as their behavior changes. For now, the daemon and shared in-memory mount let Render provide a common path across providers without requiring applications to manage token rotation themselves.