Skip to content
Justin Digs Data
Justin Digs Data
  • Home
  • Nerd Library
Justin Digs Data
Google API Gateway Logo

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.

  1. Browse to the APIs & Services page in the Google Cloud Console.
  2. Select Credentials on the left-side menu.
  3. Click the + Create Credentials option at the top of the page and select API key
    • Note the Your API key value for later .
  4. Click the Edit API key link on the API key created pop-up (see below)
  5. Enter a descriptive name for the key in the Name field.
  6. Select Restrict key under API restrictions
  7. 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
  8. Click Save.

Pages: 1 2 3 4 5 6 7 8 9 10 11 12
Backend Stuff APICloud RunGCPPythonTutorial

Post navigation

Next post

Categories

  • AI
  • Backend Stuff

Recent Posts

  • An LLM’s Blog Post about Why You Shouldn’t Use LLMs to Write Blog Posts
  • API Key Authentication with Google Cloud API Gateway and Cloud Run

Archives

  • February 2024
©2026 Justin Digs Data | WordPress Theme by SuperbThemes