You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: firebase-installations/API_KEY_RESTRICTIONS.md
+12-11Lines changed: 12 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -13,19 +13,20 @@ The following SDKs updates introduce a dependency on the [Firebase Installations
13
13
- ML Kit
14
14
- Instance ID
15
15
16
-
17
-
As a result, API restrictions you may have applied to API keys used by your Firebase applications may have to be updated to allow your apps to call the Firebase Installations API.
16
+
As a result, API restrictions you may have applied to API keys used by your Firebase applications may have to be updated to allow your apps to call the [Firebase Installations API](https://console.cloud.google.com/apis/library/firebaseinstallations.googleapis.com).
18
17
19
18
## What do I need to do?
20
19
21
20
Before upgrading your application(s) to the latest SDK version, please **make sure that the API key(s) used in your application(s) are whitelisted for the Firebase Installations API:**
22
21
23
-
-**Open** the [Google Cloud Platform Console](https://console.cloud.google.com/apis/credentials?folder).
24
-
-**Choose** the project you use for your application(s).
25
-
-**Open**`APIs & Services` and **select**`Credentials`.
26
-
-**Click**`Edit API Key` (pencil icon) for the API key in question.
27
-
-**Scroll down** to the `API restrictions` section.
28
-
- If the radio button shows `Don't restrict key`, the API key is not affected.
29
-
Otherwise, from the dropdown menu, **add** the `Firebase Installations API` to the list of permitted APIs, and click `Save`.
30
-
31
-
**Note:** If you cannot find the [Firebase Installations API](https://console.cloud.google.com/apis/library/firebaseinstallations.googleapis.com) in the list of APIs, you might first have to enable the API for your project (to do so [click here](https://console.cloud.google.com/apis/library/firebaseinstallations.googleapis.com)).
22
+
1.**Open** the [Google Cloud Platform Console](https://console.cloud.google.com/apis/credentials?folder).
23
+
1.**Choose** the project you use for your application(s).
24
+
1.**Open**`APIs & Services` and **select**`Credentials`.
25
+
1.**Click**`Edit API Key` (pencil icon) for the API key in question.
26
+
1.**Scroll down** to the `API restrictions` section.
27
+
1. From the dropdown menu, **add** the `Firebase Installations API` to the list of permitted APIs, and click `Save`.
28
+
1. If the radio button shows `Don't restrict key`, you may be looking at the wrong API key. \
29
+
You can check which API key is used for the Firebase Installations API by looking at the [service usage page for your project](https://console.cloud.google.com/apis/api/firebaseinstallations.googleapis.com/credentials).
30
+
31
+
**Note**: **Verify** your fix by checking if you can see successful `200` requests increasing on the [Firebase Installations API request metrics page](https://console.cloud.google.com/apis/api/firebaseinstallations.googleapis.com/metrics). \
32
+
**Note**: If you cannot find the Firebase Installations API in the list of APIs, you might first have to enable the API for your project (to do so [click here](https://console.cloud.google.com/apis/library/firebaseinstallations.googleapis.com)).
0 commit comments