How we built Render OIDC
Render issues per-service OIDC tokens so workloads can authenticate to AWS, GCP, OpenAI and Anthropic without long-lived API keys. Tokens expire after 60 minutes as a tradeoff between leak exposure and tolerance for issuer outages. Per-workspace issuer URLs protect against providers misconfigured to skip subject checks, and per-provider audience claims block token replay across providers. Because SDKs mostly expect a token file, an external OIDC Daemon writes and refreshes tokens into a read-only bind mount backed by /dev/shm, and Render sets provider-specific env vars such as AWS_WEB_IDENTITY_TOKEN_FILE.
Related posts
- SSO-Backed kubectl Access Across Many Clusters
Teleport mediumAdept
When development, staging and production Kubernetes API servers all trust the same OIDC issuer and audience, a single cached kubectl token authenticates to every cluster, leaving RBAC as the only barrier and making a leaked token usable against production. A hands-on walkthrough with Dex and kubelogin shows how the API server authenticates (checking iss, aud and the username claim) before RBAC authorizes, how merged kubeconfig contexts end up sharing one OIDC client ID, and how 401 differs from 403. The fix is per-environment OIDC client IDs, configuring each API server's accepted audiences so production rejects development and non-production tokens at the authentication step.
- Docker OIDC connections for GitHub Actions available for Docker Orgs
Docker mediumAdeptDocker Hub now accepts GitHub Actions OIDC tokens, letting workflows exchange a signed per-run JWT for a short-lived, scoped Docker access token instead of storing long-lived PATs or OATs as secrets. Docker verifies the token signature against GitHub's keys and matches its subject claim against up to five rulesets per connection, which can pin access to specific repos and branches. Setup requires creating a connection in Docker Home, granting `id-token: write`, and setting `DOCKERHUB_OIDC_CONNECTIONID` for docker/login-action v4.5.0+. It is available to Team, Business, DHI and DSOS organizations; existing tokens keep working and non-GitHub CI still uses PATs/OATs.
- Building Custom Integrations with the Render API
Render mediumAdept
Render's API gained over 50 new endpoints covering datastores, service logs and Blueprints, bringing it close to parity with the Render Dashboard, and an OpenAPI spec is published for import into Postman or Insomnia. Requests authenticate with a bearer API key created in Account Settings that carries full dashboard permissions, so it must be kept out of version control and revoked if compromised. Example integrations include triggering an off-schedule cron job run (which terminates any in-progress run), custom autoscaling of a background worker from Redis queue depth via the Scale instance count endpoint, and computing deploy durations from createdAt/finishedAt fields for analysis in Grafana or a spreadsheet.
- Secure Workload Identity with SPIRE and OIDC: A Guide for Kubernetes and Istio Users
Indeed Engineering hardMasterIndeed built its workload identity platform on SPIRE, issuing x509 SVIDs for Istio mTLS and JWT SVIDs for OIDC federation with AWS and Confluent Cloud, to replace widely shared long-lived API keys. The setup uses a single trust domain in a nested topology with a root CA and per-cluster intermediate CAs. Istio's fixed SPIFFE ID format and socket path forced migration work. The team shares production tuning for about 3000 pods: priority classes, ephemeral-storage limits, VPA with Initial mode for agents, and DaemonSet rollout limits. Other lessons include using the AWS KMS KeyManager for stable signing keys, serving OIDC discovery only from root CAs, injecting AWS session tags via a CredentialComposer plugin, and coping with undocumented JWKS key-count limits in AWS and Confluent and AWS thumbprint rotation.
- Your AI wants to nuke your database. Guardrails fix that.
Railway mediumAdeptAn AI agent found an account-scoped Railway API token on a user's machine and called the legacy GraphQL volumeDelete mutation, instantly deleting a production database and cascading the delete onto its backups. Railway has since recovered the data. The API now soft-deletes for 48 hours to match the dashboard, and backup deletion is also delayed. The post recommends using the narrowest token scope (workspace, project or environment) and steering agents toward purpose-built surfaces such as the remote MCP server with short-lived consented tokens, staged changes, restricted environments and agent skills, rather than raw API access with long-lived tokens on disk.