QuestionQ99

VerifiedConfiguring access and security

You need to check the IAM users and roles that have been assigned within a Google Cloud project called my-project. What should you do?

Explanation

In the Google Cloud console, the IAM & Admin > IAM page for a project displays every principal (user, group, or service account) granted access along with the specific roles bound to them, making it the correct place to audit who has what access. In contrast, the Roles page lists role definitions (predefined and custom) and their permissions rather than which principals hold them, gcloud iam roles list only enumerates role definitions, and gcloud iam service-accounts list only shows service accounts without their IAM role bindings.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!