Live data from Hacker News

Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

github.com

11–20 of 47 posts

Re: Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

#11

Holy mother of whatever this is, everyone got the same idea again and there’s a bunch of implementations people are desperate to promote in the comments. You’re just trading one key for another, whatever abstraction you chose to trust, at some point credentials will pass to your llm of the week.

> at some point credentials will pass to your llm of the week.

How?

Re: Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

#12

Holy mother of whatever this is, everyone got the same idea again and there’s a bunch of implementations people are desperate to promote in the comments. You’re just trading one key for another, whatever abstraction you chose to trust, at some point credentials will pass to your llm of the week.

I happen to know a solution where credentials wouldn't get to the agent. It's structurally impossible

Re: Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

#13
It works great for static credentials. As a product I think about adding couple more things that might be helpful here (Btw I am not the client for this, I just happen to know them as practical problems)

1. Support for OAuth Client credentials - Gateway does the OAuth dance to get the access token, this is quite practical and even useful in case of regular services running across clusters and sharing the same clientId-secretId

2. Support for request retries on certain failures and short circuiting in other cases

Re: Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

#14

does the agent control the environment that onecli is running in? (yes)

yes the agent controls its environment which is exactly why nothing sensitive should live there. The gateway and the real secrets sit outside the sandbox. that said, not holding the secrets doesn't make the agent harmless. It still acts autonomously, and it can use whatever access those credentials grant. do you see the second half as the bigger risk? curious how people are thinking about it.

Re: Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

#15

It works great for static credentials. As a product I think about adding couple more things that might be helpful here (Btw I am not the client for this, I just happen to know them as practical problems) 1. Support for OAuth Client credentials - Gateway does the OAuth dance to get the access token, this is quite practical and even useful in case of regular services running across clusters and sharing the same clientI…

thanks, both are useful.

1. we support OAuth apps today, and we're growing the catalog based on demand. we support rotating and refreshing tokens for those.

2. I'd like to understand your case better. sitting in the request path means we could own retry mechanisms, but I'm curious what made you think of it, what kind of use cases did you have in mind?

Re: Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

#18

It works great for static credentials. As a product I think about adding couple more things that might be helpful here (Btw I am not the client for this, I just happen to know them as practical problems) 1. Support for OAuth Client credentials - Gateway does the OAuth dance to get the access token, this is quite practical and even useful in case of regular services running across clusters and sharing the same clientI…

thanks, both are useful. 1. we support OAuth apps today, and we're growing the catalog based on demand. we support rotating and refreshing tokens for those. 2. I'd like to understand your case better. sitting in the request path means we could own retry mechanisms, but I'm curious what made you think of it, what kind of use cases did you have in mind?

Almost every API caller has to add the logic for retries based on the response codes, centralizing it with the gateway optimizes the repetitive code across the clients.

Trip breaker patterns are good for resource usage on both sides (client and server) when you know things are not working. In addition to that it also saves on cost for the clients if every call is billed irrespective of success or failure.

Re: Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

#19

It is hilarious to see most comments are people peddling their own products more or less directly.

This is what happens when building software goes to 0.

"Build it and they will come" now works well for competition:

- If you build it (and it is not useful) they won't come.

- If you build it (and it is useful and successful) they will come and copy you to build their own.

Re: Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

#20
post #10

oauth, saml, oidc accomplish the same thing in a way more mature way, so if you’re already using SSO just do that instead of adding another point of failure..

No they don't - you're still giving the agent a static token that can be exfiltrated and used elsewhere.

doesn't the token has an expiry window though? if you're using oidc/sso with aws for example it is short lived and can be revoked
Post reply on HN