Remediation
From Consoleβ
- Go to
APIs & Services\Credentials
- In the section
API Keys
, to delete API Keys: Click theDelete Bin Icon
in front of everyAPI Key Name
.
From Google Cloud Command Lineβ
-
Run the following from within the project you wish to audit
gcloud services api-keys list --filter
-
Pipe the results into
gcloud alpha services api-keys delete