Created
February 14, 2022 07:14
-
-
Save lirlia/db917e8ca3946cdff757a0763e39a3e9 to your computer and use it in GitHub Desktop.
This file contains 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
$ curl -sSL -H "Metadata-Flavor: Google" "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token" | jq -r | |
{ | |
"access_token": "XXX", | |
"expires_in": 1967, | |
"token_type": "Bearer" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment