Skip to content

Commit

Permalink
docs: update API key generation steps (#1791)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus authored Nov 16, 2016
1 parent 73f4a0e commit 35f1354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-monitoring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ If you are not running this client on Google Compute Engine, you need a Google D
1. Visit the [Google Developers Console][dev-console].
2. Create a new project or click on an existing project.
3. Navigate to **APIs & auth** > **Credentials** and then:
* If you want to use a new service account, click on **Create new Client ID** and select **Service account**. After the account is created, you will be prompted to download the JSON key file that the library uses to authenticate your requests.
* If you want to generate a new key for an existing service account, click on **Generate new JSON key** and download the JSON key file.
* If you want to use a new service account key, click on **Create credentials** and select **Service account key**. After the account key is created, you will be prompted to download the JSON key file that the library uses to authenticate your requests.
* If you want to generate a new service account key for an existing service account, click on **Generate new JSON key** and download the JSON key file.

``` js
var projectId = process.env.GCLOUD_PROJECT; // E.g. 'grape-spaceship-123'
Expand Down

0 comments on commit 35f1354

Please sign in to comment.