问题描述
bin
在gcloud auth print-identity-token
ERROR: (gcloud.auth.print-identity-token) No identity token can be obtained from the current credentials.
上,我可以看到我的帐户为有效帐户(用户帐户)。
我正在云外壳上尝试此操作。
注意-这之前已经起作用,我能够通过此命令生成JWT令牌。
解决方法
此PIT thread中已经报告了此问题,您可以在此处进行跟踪和跟进。
,今天我已经用Google Cloud SDK 310.0.0
再次尝试过,发现在Cloud Shell中,我可以运行命令$ gcloud auth print-identity-token
。
因此要求您检查$ gcloud version
并重试。