- INFORMATION
-
gcloud alpha edge-cloud auth print-identity-tokenis not available in universe domainuniverse. - NAME
-
- gcloud alpha edge-cloud auth print-identity-token - print an identity token for a specified audience
- SYNOPSIS
-
-
gcloud alpha edge-cloud auth print-identity-token--audience=AUDIENCE(--cred-file=CRED_FILE| [--login-uri=LOGIN_URI:--login-cert=LOGIN_CERT]) [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)The methods in the class generates an identity token for a specified audience in Google Distributed Cloud zone. The identity token can be generated based on IDP login or Service Account Keys. - REQUIRED FLAGS
-
--audience=AUDIENCE- Intended recipient of the token. Currently, only one audience can be specified.
-
Token Generation Arguments.
Exactly one of these must be specified:
- Credential File Arguments.
--cred-file=CRED_FILE- Credential file.
- IDP Login Arguments.
--login-uri=LOGIN_URI-
Google Distributed Cloud zone IDP login URI.
This flag argument must be specified if any of the other arguments in this group are specified.
--login-cert=LOGIN_CERT- Google Distributed Cloud zone CA certificate path
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
- This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
gcloud alpha edge-cloud auth print-identity-token
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-10 UTC."],[],[]]