Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Auto Generated Key Google Services

Does anyone know why Google keeps generating new API keys or is it my app ? It's quite irritating seeing new generated keys without any concerns.

Google developer console

like image 647
Sharkes Monken Avatar asked Dec 21 '17 08:12

Sharkes Monken


People also ask

Is Google API key free?

Stay organized with collections Save and categorize content based on your preferences. API Keys is currently free of charge.

What is Google API key used for?

The API key is a unique identifier that authenticates requests associated with your project for usage and billing purposes.

What is an API key example?

An API key is a token that a client provides when making API calls. The key can be sent in the query string: GET /something? api_key=abcdef12345.


2 Answers

Apparently, I came to realise whenever i tried downloading the google-services file from Firebase, Google re-generates new API keys for usage. It's best to stick with one file on your local PC if you don't want such behaviour to occur and bug you out.

And also i would suggest to restrict most of your API keys, for example on my situations all API keys linked with "iOS" platforms are restricted for iOS only and contain a specific bundle identity. This will not only prevent misuse of the APIs but also prevent unauthorised applications/individuals from using your assigned API keys.

like image 87
Sharkes Monken Avatar answered Oct 17 '22 01:10

Sharkes Monken


This can also happen if you enabled a new API in your Google console account that was not enabled before

like image 23
Sami Eltamawy Avatar answered Oct 17 '22 01:10

Sami Eltamawy