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: packages/storage/README.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,20 +90,26 @@ If you are not running this client on Google Compute Engine, you need a Google D
90
90
* Google Cloud Storage
91
91
* Google Cloud Storage JSON API
92
92
4. Navigate to **APIs & auth** > **Credentials** and then:
93
-
* 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.
94
-
* 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.
93
+
* 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.
94
+
* 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.
95
+
* If you want to use a new API key, click on **Create credentials** and select **API key**. After the API key is created, you will see a newly opened modal with the API key in a field named **Your API key** that the library uses to authenticate your requests.
96
+
* If you want to generate a new API key for an existing API key, click on an existing API key and click **Regenerate key**.
95
97
96
98
```js
97
99
var projectId =process.env.GCLOUD_PROJECT; // E.g. 'grape-spaceship-123'
0 commit comments