Difference between revisions of "Gcloud projects get-iam-policy"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
   - user: your_username2@your_domain.com
 
   - user: your_username2@your_domain.com
  
 +
 +
- condition:
 +
    expression: resource.name == "your-bucket-name"
 +
    title: Your-tible
 +
  members:
 +
 +
  role: roles/[[storage.admin]]
  
  

Revision as of 17:33, 26 July 2022

https://cloud.google.com/sdk/gcloud/reference/projects/get-iam-policy

gcloud projects get-iam-policy your_project_name
.../...
- members:
  - user: your_username1@your_domain.com
  - user: your_username2@your_domain.com


- condition:
    expression: resource.name == "your-bucket-name"
    title: Your-tible
  members:
  - user:[email protected]
  role: roles/storage.admin


Errors

gcloud projects get-iam-policy elucidate-co
ERROR: (gcloud.projects.get-iam-policy) User [local-user@your-project.iam.gserviceaccount.com] does not have permission to  access projects instance [your-project:getIamPolicy] (or it may not exist): The caller does not have permission

Related

See also

Advertising: