3 ms·
This is pretty cool. But at the risk of a digression, I can't imagine sharing my API keys with a random website on HN. There has to be a safe approach to this.
by sidcool 2y ago
This is pretty cool. But at the risk of a digression, I can't imagine sharing my API keys with a random website on HN. There has to be a safe approach to this. Like limited use API keys, rate limited API keys or unsafe API keys etc.
- thomasahle 2y agoCan't you just create a new API key with a limited budget?
- ldenoue 2y agoI should do that, let me try.
- sidcool 2y agoThe risk of leakage is very high. If Anthropic, Google, OpenAI can provide dispensible keys, it will be great.
- thomasahle 2y agoBoth OpenAI and Anthropic let you disable and delete keys. I'd be surprised if Google doesn't.
- mst 2y agoI'm aware this isn't a *proper* solution, but "throw your current API key at it, then as soon as you're done playing around, execute a test of your API key rotation scripting" isn't a terrible workaround, especially if you're the sort of person who really *meant* to have tested said scripting recently but kept not getting around to it ("hi").