Skip to content

Commit 4765ab0

Browse files
authored
Recommend using Application and API restrictions for API key
fix #27
1 parent 5a5c739 commit 4765ab0

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@ Here's an introductory video:
1616

1717
1. You need a [Google Cloud project](https://console.cloud.google.com).
1818
1. [Enable the Stackdriver Error Reporting API](https://console.cloud.google.com/apis/api/clouderrorreporting.googleapis.com/overview) for your project. We highly recommend to restrict the usage of the key to your website URL only using an 'HTTP referrer' restriction.
19-
1. Create a browser API key: Follow [these instructions](https://support.google.com/cloud/answer/6158862) to get an API key for your project. If this is not an option for your team, you can [use a custom url](#configuring-without-an-api-key) to send your errors to.
19+
1. Create a browser API key:
20+
21+
- Follow [these instructions](https://support.google.com/cloud/answer/6158862) to get an API key for your project.
22+
- Recommended: Use **Application restrictions** to restrict this key to your website.
23+
- Recommended: Use **API restrictions** to limit this key to the *Stackdriver Error Reporting API*.
24+
25+
If API keys are not an option for your team, you can [use a custom url](#configuring-without-an-api-key) to send your errors to your backend.
2026

2127
## Quickstart
2228

0 commit comments

Comments
 (0)