QuestionQ75

VerifiedDesigning for security and compliance

Your company sends batches of sensitive transaction data from its application-server VMs to Cloud Pub/Sub for processing and storage. What is the Google-recommended method for the application to authenticate to the required Google Cloud services?

Explanation

Applications running on Compute Engine VMs should authenticate by using the attached service account through Application Default Credentials. The service account must receive only the Cloud Pub/Sub IAM roles required for the workload, which authorizes it to publish or otherwise access Pub/Sub resources.

Learn more

Community Discussion

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