logoalt Hacker News

hardsnowtoday at 6:31 AM1 replyview on HN

Alternative, and more robust approach is to give the agent surrogate credentials and replace them on the way out in a proxy. If proxy runs in an environment to which agent has no access to, the real secrets are not available to it directly; it can only make requests to scoped hosts with those.

I’ve built this in Airut and so far seems to handle all the common cases (GitHub, Anthropic / Google API keys, and even AWS, which requires slightly more work due to the request signing approach). Described in more detail here: https://github.com/airutorg/airut/blob/main/doc/network-sand...


Replies

NitpickLawyertoday at 7:22 AM

How does this work with SSL? Do you need to provision certs on the agent VM?

show 1 reply