API Key Authentication with Google Cloud API Gateway and Cloud Run Posted on February 10, 2024February 15, 2024 By Justin Create API Key Finally, we need to create the API key we’ll use to authenticate, and this is one step I actually prefer doing in the Google Cloud Console. I just feel like I’m less likely to accidentally grant the wrong permissions to the key when I’m using the UI, though you might prefer the command line. Browse to the APIs & Services page in the Google Cloud Console. Select Credentials on the left-side menu. Click the + Create Credentials option at the top of the page and select API key Note the Your API key value for later . Click the Edit API key link on the API key created pop-up (see below) Enter a descriptive name for the key in the Name field. Select Restrict key under API restrictions Select the friendly name of the API Gateway API you created earlier and click OK. If you don’t see your API listed, make sure that you completed the previous Enable API Gateway API section successfully Click Save. Pages: 1 2 3 4 5 6 7 8 9 10 11 12 Backend Stuff APICloud RunGCPPythonTutorial