Multiple Service Account Keys

Hiya, we’re isolating our staging and production environments in separate Google Cloud Projects, and we’d like to use Circle CI for both projects.

To use Circle CI with GCP, we need to authenticate the service account, but since we have two projects, we now have two different service account keys, and Circle CI stores the service account in an environment variable called GCLOUD_SERVICE_KEY.

Do we just add a second service key variable as suggested in this post?

1 Like