Difference between revisions of "Gcloud asset search-all-iam-policies"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
  [[gcloud asset]] search-all-[[iam-policies]] --scope=projects/YOUR-PROJECT
 
  [[gcloud asset]] search-all-[[iam-policies]] --scope=projects/YOUR-PROJECT
  [[gcloud asset]] search-all-iam-policies --scope=organizations/123 --query="policy:123-compute@developer.[[gserviceaccount.com]]"
+
 
 +
 
 +
  [[gcloud asset]] search-all-iam-policies --scope=projects/[[YOUR-PROJECT]] --query="policy:local-user-user@your-project.iam.[[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}}
* {{gcloud}}
 
  
 
[[Category:GCP]]
 
[[Category:GCP]]

Latest revision as of 10:10, 21 November 2022

Advertising: