Created
October 10, 2019 14:45
-
-
Save mesmacosta/540e7f12601c99d96fce61a6785a1409 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gcloud auth activate-service-account --key-file sa.json | |
| gcloud auth print-access-token | |
| # The command returns an access token value. | |
| # When calling a GCP API, pass the token value as a bearer token in an Authorization header |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment