Difference between revisions of "Gcloud asset search-all-iam-policies"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/questions/60480678/how-to-list-find-or-search-iam-policies-across-services-apis-resource-types
(4 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
− | [[gcloud asset]] search-all-iam-policies --scope=projects/[[YOUR-PROJECT]] --query="policy:[email protected].[[gserviceaccount.com]]" | + | [[gcloud asset]] search-all-iam-policies --scope=projects/[[YOUR-PROJECT]] --query="policy:[email protected].[[gserviceaccount.com]]" <ref>https://stackoverflow.com/questions/60480678/how-to-list-find-or-search-iam-policies-across-services-apis-resource-types</ref> |
− | |||
== Related == | == Related == | ||
* [[Google Cloud IAM]] | * [[Google Cloud IAM]] | ||
+ | * <code>[[gcloud iam service-accounts list]]</code> | ||
+ | * <code>[[gcloud projects get-iam-policy]]</code> | ||
== See also == | == See also == | ||
* {{gcloud asset}} | * {{gcloud asset}} | ||
− | |||
[[Category:GCP]] | [[Category:GCP]] |
Latest revision as of 10:10, 21 November 2022
gcloud asset search-all-iam-policies --scope=projects/YOUR-PROJECT
gcloud asset search-all-iam-policies --scope=projects/YOUR-PROJECT --query="policy:[email protected].gserviceaccount.com" [1]
Related[edit]
See also[edit]
Advertising: