I'm setting up Firebase for my app for the first time. I followed the instructions and noticed that three API keys as well as one OAuth 2.0 Client ID were created in the developer console.
The API Keys:
- Android key (auto created by Google Service)
- Browser key (auto created by Google Service)
- Server key (auto created by Google Service)
OAuth 2.0 Client ID
- Web client (auto created by Google Service)
I want to rename these so that I know what they were. So I went into Firebase and figured out where they were being used and renamed them to the follwing:
- Android key - Firebase - Web API Key
- Browser key - Firebase (Not sure what this is used for)
- Server key - Firebase - Cloud Message Legacy Servery Key
- Web client - Firebase Application
However, when I rename them and redeploy my app, Firebase recreates new keys.
Now I have the following Api Keys:
- Android key (auto created by Google Service)
- Browser key (auto created by Google Service)
- Server key (auto created by Google Service)
- Android key - Firebase - Web API Key
- Browser key - Firebase (Not sure what this is used for)
- Server key - Firebase - Cloud Message Legacy Servery Key
The keys were remade.
The OAuth 2.0 Client ID was also changed back to the original name (Web client (auto created by Google Service))
I want to restrict these API keys and rename them. Is that possible?