menu
arrow_back

Security Mediation with IAM Service Accounts and OAuth

—/100

Checkpoints

arrow_forward

Creating service account and service key

Export and upload OAuth API proxy

Export and upload hipster-products API Proxy

Security Mediation with IAM Service Accounts and OAuth

1 heure 30 minutes 7 crédits

GSP673

Google Cloud Self-Paced Labs

Overview

API proxies give you the full power of Apigee's API platform. Examples of what you can do with API proxies:

  • Secure API calls
  • Throttle traffic
  • Mediate messages
  • Control error handling
  • Cache things
  • Build developer portals
  • Document APIs
  • Analyze API traffic data
  • Make money on the use of your APIs
  • Protect against bad bots

In this lab you learn how to leverage Apigee policies that generate JSON Web Tokens (JWT) to securely generate Google OAuth tokens using an application's GCP service account for use in API proxies. The application can then supply the token to an API proxy running on Apigee to integrate with other Google APIs.

What you'll do

  • Create and deploy the Google Authentication Extension

  • Develop an API proxy to POST a request to generate an Apigee access token and a Google OAuth token

  • Develop an API proxy that authorizes a request to fetch a resource (product) from the backend via an OAuth access token

  • Mediate a request to a Google Cloud service (translate) via the API proxy, enforcing and providing the required authorization using scope

Inscrivez-vous sur Qwiklabs pour consulter le reste de cet atelier, et bien plus encore.

  • Obtenez un accès temporaire à Google Cloud Console.
  • Plus de 200 ateliers, du niveau débutant jusqu'au niveau expert.
  • Fractionné pour vous permettre d'apprendre à votre rythme.
Inscrivez-vous pour démarrer cet atelier