Difference between revisions of "Gcloud auth application-default login"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
[[curl]] \ | [[curl]] \ | ||
− | -H "Authorization: Bearer "$(gcloud auth application-default print-access-token) \ | + | [[-H]] "Authorization: Bearer "$(gcloud auth application-default print-access-token) \ |
-H "Content-Type: application/json; charset=utf-8" \ | -H "Content-Type: application/json; charset=utf-8" \ | ||
https://analyticsadmin.googleapis.com/v1alpha/accounts | https://analyticsadmin.googleapis.com/v1alpha/accounts |
Revision as of 14:14, 29 April 2022
gcloud auth application-default login
curl \ -H "Authorization: Bearer "$(gcloud auth application-default print-access-token) \ -H "Content-Type: application/json; charset=utf-8" \ https://analyticsadmin.googleapis.com/v1alpha/accounts
See also
gcloud auth
[list | login | print-access-token | configure-docker | activate-service-account | application-default login] | print-access-token | print-identity-token | --help]
gcloud
[config | scheduler | auth | asset | services | gcloud auth login | iam | sql | projects | container
|compute | kms
|source
],gcloud composer environments create
|build
|gcloud config set project
,gcloud source repos create
,gcloud composer environments create
,gcloud version
,gcloud --help
Advertising: