gcloud_auth_print_identity_token
Generate and print a JWT identity token for authenticating to Cloud Run and other services using the active account. Specify audiences as a comma-separated list.
Instructions
Generate and print an identity token (JWT) for the active account. Used for authenticating to Cloud Run and other services.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"audiences": "<audiences>"
},
"name": "gcloud_auth_print_identity_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Specific account to get token for (optional) | |
| audiences | Yes | Comma-separated list of audiences for the token | |
| include_email | No | Include email in the token |