QuestionQ91

VerifiedIntegrating applications with Google Cloud services

For this question, refer to the HipLocal case study.

HipLocal's application uses Cloud Client Libraries to interact with Google Cloud. HipLocal needs to set up authentication and authorization in the Cloud Client Libraries to apply least-privileged access for the application. What should they do?

Explanation

A dedicated application service account can be granted only the IAM roles required by the Google Cloud resources and APIs it uses, providing a distinct workload identity with least-privileged authorization. API keys do not provide equivalent IAM-based authorization, and default service accounts are not recommended for least privilege because they can be highly privileged. Google Cloud client libraries use Application Default Credentials with service-account credentials for authentication.

Learn more

Community Discussion

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