Hacker News new | ask | show | jobs
by thayne 18 days ago
Well, and you also want it to be able to inject the credentials into the request so that the agent doesn't have direct access to the credentials themselves.

I believe that gondolin (by the same people who make pi) can do this. But it requires quite a bit of effort to configure it for everything.

1 comments

Gondolin does secret injection, but I don't believe it lets you restrict access to a tighter permission than the underlying key. The problem is that many services give "god mode" API keys so that even if your agent can't access the key, the fact that it has access to the full API surface creates risk of catastrophic loss.
Gondolin does give access to the whole request if required, I believe you can filter more efficiently via just headers+path, but you can get the whole request if required. I’ve seen projects eg filtering certain graphql methods, similar to what it looks like your product does. It is very fiddly though, and I’m never very sure I got it right.