2 years ago

#36340

test-img

mon

GCP - how to manage multiple application credentials

Suppose I have 5 Google accounts (gmail accounts). Is there a way to create multiple application default credentials (ADC), one for each Google account, and specify which one to use to GCP SDK?

gcloud auth application-default login

Obtains user access credentials via a web flow and puts them in the well-known location for Application Default Credentials (ADC).

The well-known location is ~/.config/gcloud/application_default_credentials.json.

AWS has a concept of profile and we can specify --profile to specify which AWS credential to use. Hence wonder if there is a similar mechanism in GCP.

google-cloud-platform

gcloud

credentials

0 Answers

Your Answer

Accepted video resources