If the Maps JavaScript API is not listed, you need to ForĪfter enabling websites, be sure to monitor your usage, to make sure You can use wildcardĬharacters to authorize all subdomains (for example,įor other URL protocols, you must use a special representation. Referers (web sites) from the list of Application
When restricting an API key in the Cloud Console,Īpplication restrictions override any APIs enabled under API restrictions.įollow best practices by creating a separate API key for each app, and for each platform Restricting API keys adds security to your application by Google strongly recommends that you restrict your API keys by limiting their usage to those onlyĪPIs needed for your application. The new API key is listed on the Credentials page under API keys.Ĭloud SDK gcloud alpha services api-keys create \ 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.