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
@@ -208,6 +210,20 @@ Go to your [API dashboard](https://cloud.digitalocean.com/settings/api/tokens) a
208
210
209
211
As far as we know, there is no way to check the last calls made with your API token. You can check your [security history dashboard](https://cloud.digitalocean.com/settings/security) or use [the actions API endpoint](https://developers.digitalocean.com/documentation/v2/#list-all-actions) to check a few actions performed on your account.
210
212
213
+
214
+
## <imgsrc="icons/google-logo.jpg"height="30"width="30" > Google
215
+
As stated [here](https://support.google.com/cloud/answer/6310037?hl=en) you should not store API key in application's source tree. There are some exceptions like
216
+
Google Maps API key that sometimes need to be embedded in JS.
217
+
API keys are distributed per project. There are two types of personal secrets: **API keys** and **Service account keys**, the deletion's process is the same and detailed below.
218
+
### Revoke a key
219
+
Go to the [credentials](https://console.cloud.google.com/apis/credentials) section of your project. Then select the corresponding API key and click on the delete button.
220
+
221
+
### Check for suspicious activity
222
+
223
+
Go your [dashboard](https://console.cloud.google.com/apis/dashboard) and
Heroku API keys don't have scopes. They give full programmatic access to your account.
251
+
Heroku API keys don't have scopes. They give full programmatic access to your account.
236
252
237
253
> Warning: we are not speaking about [Heroku Oauth](https://devcenter.heroku.com/articles/oauth) tokens which have [scopes](https://devcenter.heroku.com/articles/oauth#scopes). Oauth tokens are generated in the back-end and unlike API keys, they are used with a client id.
238
254
239
255
### Revoke a key
240
256
241
-
To revoke your token go to your [account page](https://dashboard.heroku.com/account) under the "API Key" section, then click on . A new token will be issued.
257
+
To revoke your token go to your [account page](https://dashboard.heroku.com/account) under the "API Key" section, then click on . A new token will be issued.
0 commit comments