QuestionQ27

VerifiedIntegrating applications with Google Cloud services

Three teams are developing an ecommerce application in the same Google Cloud project. Team A will build a set of RESTful APIs that expose core application functionality. Team B and Team C will call those APIs from downstream processes running in Cloud Run services. You need to propose an API-exposure solution that maximizes security and minimizes management overhead for all three teams. How should you design this solution?

Explanation

Service-account-based authentication is suited to microservice communication, and Cloud Run services can use their attached service identities rather than distributing shared credentials. Assigning each calling service account access to the APIs provides distinct, manageable identities while avoiding exported service-account keys and shared API keys. API keys are primarily used to identify a Google Cloud project for quota, billing, and monitoring, not as the preferred mechanism for securing service-to-service access.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!