![](/img/trans.png)
[英]Get the client_id of the IAM proxy on GCP Cloud composer
[英]Get the Client ID from the command line in GCP
我需要在 Google Cloud Platform 中使用 IAP 进行身份验证,但我无法获取保护 Airflow Web 服务器的代理的客户端 ID。
我需要一个命令来执行此操作,因为我无法使用服务帐户的JSON
密钥。
不是通过 gcloud,但您可以尝试以下操作: curl --verbose https://url-for-your-app/ | grep Location: | sed 's/.*client_id=//' | sed 's/&.*//'
curl --verbose https://url-for-your-app/ | grep Location: | sed 's/.*client_id=//' | sed 's/&.*//'
或者通过 gcloud,我认为gcloud compute backend-services describe
会显示出来。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.