Skip to content

Commit

Permalink
Add both P12 config and JSON credentials
Browse files Browse the repository at this point in the history
It might make sense to have both ways of authenticating here.
  • Loading branch information
daspecster committed Oct 9, 2015
1 parent 04dca83 commit f838bb8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ Running System Tests
$ export CLOUDSDK_PYTHON_SITEPACKAGES=1

# Authenticate the gcloud tool with your account.
$ P12_CREDENTIALS_FILE="path/to/app_credentials.json"
$ gcloud auth activate-service-account --key-file=$P12_CREDENTIALS_FILE

# or for a P12 credentials file
$ SERVICE_ACCOUNT_EMAIL="some-account@developer.gserviceaccount.com"
$ P12_CREDENTIALS_FILE="path/to/keyfile.p12"
$ gcloud auth activate-service-account $SERVICE_ACCOUNT_EMAIL \
Expand Down

0 comments on commit f838bb8

Please sign in to comment.