【问题标题】:How to get the list of all the Members in IAM in Google Cloud [duplicate]如何在 Google Cloud 中获取 IAM 中所有成员的列表 [重复]
【发布时间】:2020-09-14 04:47:25
【问题描述】:

我使用 IAM > ADD Member 向我的 GCP 帐户中的这么多用户提供了访问权限。我想使用 gcloud CLI 获取 IAM 中存在的所有成员的列表。我没有为他们创建任何组,只是简单地添加了他们的邮件 ID 并授予他们权限。 有没有办法使用云壳获取所有成员的列表?

【问题讨论】:

    标签: google-cloud-platform google-cloud-functions gcloud google-iam


    【解决方案1】:

    如果你有正确的访问权限,这个云 shell 上的命令应该会给你用户列表。 gcloud projects get-iam-policy <name of the project>

    【讨论】:

      猜你喜欢
      • 2021-10-21
      • 1970-01-01
      • 2015-06-04
      • 1970-01-01
      • 2017-11-28
      • 1970-01-01
      • 2015-11-21
      • 1970-01-01
      • 2017-08-15
      相关资源
      最近更新 更多