Skip to content

Instantly share code, notes, and snippets.

@msaxena25
Last active March 20, 2018 07:25
Show Gist options
  • Save msaxena25/090700b436429cd30013451b6ddeb96a to your computer and use it in GitHub Desktop.
Save msaxena25/090700b436429cd30013451b6ddeb96a to your computer and use it in GitHub Desktop.
Generate Google API Restrict Key
Here are steps to generate google restrict key:
1. Go to site: https://console.developers.google.com/projectselector/apis/credentials?supportedpurview=project
2. Log in to the page with your Gmail account
3. Create or Select your project.
a. If you already created a project before then you can select that one.
b. Else click on create button to create a project.
3. Click on Create credential button > select API key option
4. You will see a prompt with the newly generated key. Click on RESTRICT KEY option, You will see a form.
5. Type any preferred name for your key in Name input field.
6. Select your restriction method. If you select IP-Address then fill IP-addresses on which you want to restrict.
7. Save your changes. Changes will reflect within 5 minutes after saving it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment