# Formal gives cloud coding agents read-only production access without a single stored secret

Original title: We let our cloud agents query prod (with OIDC, not secrets)

> Hacker News story 50261584 · language: en · submitted 2026-10-27
> Web version: https://zeli.app/story/50261584
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 19 · by [saligrama](<https://news.ycombinator.com/user?id=saligrama>) · 💬 15
[original](<https://www.formal.ai/blog/cloud-agents-oidc-infrastructure/>) · [HN discussion](<https://news.ycombinator.com/item?id=50261584>)

## Summary

Formal, which has long pushed to eliminate long-lived secrets, now uses OIDC to let cloud coding agents like Cursor and Devin reach production databases, S3 buckets, and cloud accounts. Each agent session becomes its own short-lived identity, tied to the engineer who launched it and the repo it works in, with access approval-gated and read-only. The same identity-propagation pattern already used for Metabase turned out to fit shared agents almost perfectly.

## Key quote

> The broader lesson from our internal use is that agent access should be modeled as a temporary delegation — not just as another machine workload with another long-lived secret.

## HN discussion (15 comments)

### [anuptalwalkar](<https://news.ycombinator.com/item?id=50262299>)

> Ugh. OIDC’s whole trust model assumes the subject of the token is the responsible party. Sounds like you are opening a door for a future security problem.
>
> OIDC is good when the end user needs short-term access validation and authorization. The claim and responsibilities of what they do are on that user. Now that you have agents involved, the user can just shrug it off, saying 'oh the AI went rogue'. You probably need a separate role for agent specific tasks that severely limits the access specific to your workload, but that is a work of its own.

### [thakoppno](<https://news.ycombinator.com/item?id=50263873>)

> \> At Formal, we hate secrets. Since day one, we’ve been on a quest to drive the number of long-lived secrets in our infrastructure to zero.
>
> Pedantry alert: Private keys are secrets.

### [motoroco](<https://news.ycombinator.com/item?id=50262522>)

> just relating my personal/professional setup, I run Pocket ID for myself and made an agent account for claude. I have it set up with limited access policies to pre-prod Cloudflare resources and Tailscale servers for occasional tasks. I really like the control I have over access, grant it just when it’s needed and only exactly as much as needed. I wish SSO didn’t require biz/enterprise plans on so many services so I could use my OIDC in more ways

---

## Cite

- Page: https://zeli.app/story/50261584
- Date: 2026-10-27
- Source: formal.ai (https://www.formal.ai/blog/cloud-agents-oidc-infrastructure/)
- Hacker News: https://news.ycombinator.com/item?id=50261584

## Other languages

- zh: https://zeli.app/zh/story/50261584 · markdown: https://zeli.app/zh/story/50261584.md
- ja: https://zeli.app/ja/story/50261584 · markdown: https://zeli.app/ja/story/50261584.md
- ko: https://zeli.app/ko/story/50261584 · markdown: https://zeli.app/ko/story/50261584.md
- de: https://zeli.app/de/story/50261584 · markdown: https://zeli.app/de/story/50261584.md
- es: https://zeli.app/es/story/50261584 · markdown: https://zeli.app/es/story/50261584.md
- ru: https://zeli.app/ru/story/50261584 · markdown: https://zeli.app/ru/story/50261584.md
