名稱
gdcloud auth:設定驗證機制。
概要
gdcloud auth COMMAND [flags]
說明
設定驗證機制。 授予及撤銷 gcloud CLI 的授權。此外,您也可以列印 ID 權杖,並設定 Docker 驗證。
GDCLOUD 廣泛旗標
所有指令都可使用這些標記:--help。
詳情請參閱 gdcloud CLI 參考資料總覽頁面。
指令
COMMAND 是下列其中一項:
activate-service-account
Authorize access to GDC air-gapped with a service account.
configure-docker
Configure Docker authentication after signing in to the gdcloud CLI.
login
Authorize the gdcloud CLI to sign in with the configured identity provider.
print-identity-token
Print an identity token for the current active account.
revoke
Revoke the authentication credentials of an account from GDCH.