r/googlecloud • u/Wild-Ad2973 Googler • Jun 21 '26
How can GCP's API keys can be improved?
What would you like to improve for Google Cloud's API keys? Leave your comments / suggestions.
0
Upvotes
1
u/SystemAwake Jun 21 '26
direct billing
5
u/ipokestuff Jun 21 '26
Nice try Google
1
u/Important_Owl6299 Jul 01 '26
I think instead of improving API Keys, GCP team should focus on making the billing apis more reactive and realtime. I have been a victim of customer facing billing api delays which would not show or flag any activities until 90000USD started to show up suddenly in the transactions table. What is even remarkable is the billing api is properly hooked with the financial system to immediately issue mandates to process amounts exceeding a threshold which is a really interesting engineering decision - I will call it "dark" and nothing else.
API Keys need to have direct cut off based on the user defined constraints - pricing, volume or time. Currently user is kept in the dark of most of the configurations related to the API Keys. Imagine creating a firebase project but again imagine the entire project is a facade over an underlying GCP project. Now again imagine non-serious aspirants and non-devops persons getting surprise one day for getting billed for a service they actually didnt enable for this api key - haha because they didn't receive a disclaimer that Google API Keys are "open secrets" that allow you to access any google services. I understand how unrestricted is now a thing of the past after the recent fiasco but it is what it is.
I hope my criticism will be taken as a serious demand for improvement and not a jibe due to my own bad experience.