gdcloud iam service-accounts keys list

名稱

gdcloud iam service-accounts keys list - 列出服務帳戶的所有公開金鑰。

概要

gdcloud iam service-accounts keys list [flags]

說明

列出專案服務帳戶所有公開金鑰的 ID、演算法和有效時間範圍。

範例


  To list all the public keys for service account "psa-test" in project "iam-test", run:

    gdcloud iam service-accounts keys list --iam-account=psa-test --project=iam-test

必要標記

      --iam-account string   Project's service account to list the keys for. The flag is required to run the command.

GDCLOUD 廣泛標記

所有指令都可使用這些旗標:--configuration--format--help--project--quiet

詳情請參閱 gcloud CLI 參考資料總覽頁面。