←back to thread

Gemini CLI

(blog.google)
1348 points sync | 1 comments | | HN request time: 0.204s | source
Show context
iaresee ◴[] No.44377777[source]
Whoa. Who at Google thought providing this as an example of how to test your API key was a good idea?

https://imgur.com/ZIZkLU7

This is shown at the top of the screen in https://aistudio.google.com/apikey as the suggested quick start for testing your API key out.

Not a great look. I let our GCloud TAM know. But still.

replies(3): >>44378416 #>>44379072 #>>44379108 #
asadm ◴[] No.44379072[source]
What's wrong here?
replies(1): >>44379866 #
1. iaresee ◴[] No.44379866[source]
Don't put your API keys as parameters in your URL. Great way to have them land in server logs, your shell history, etc. You're trusting no one with decryption capabilities is doing logging and inspection correctly, which you shouldn't.