Gcloud services api-keys list -project=' PROJECT'Ĭlear existing restrictions on existing key. If the Directions API is not listed, you need to
If you need to enter another entry, a new box appears after you complete adding the IP addresses (web servers, cron jobs, etc.) from the list of We strongly recommend that you follow the instructions to set restrictionsįor your API keys. Restricting API keys adds security to your application by ensuring only authorized requests are (Remember to restrict the API key before using it in production.)Ĭloud SDK gcloud alpha services api-keys create \
The new API key is listed on the Credentials page under API keys. The API key created dialog displays your newly created API key. On the Credentials page, click Create credentials > API key.
Go to the Google Maps Platform > Credentials page.