Articles on: Getting Started (Pentest)

What are the steps involved in adding a Viewer Role in GCP?

To grant a user a Viewer role in Google Cloud Platform (GCP), you can either use the Google Cloud Console or the gcloud command-line tool. Here's how you can achieve this through the Google Cloud Console:

Access the Google Cloud Console via this link.

Select the project you want to work with from the project dropdown located in the top bar.

Navigate to the IAM & Admin page by clicking on IAM from the left navigation bar.

At the top of the page, click the GRANT ACCESS button.

In the New principals field, enter the email address of the user you want to grant the Viewer role to.

This can be a Google Account email, a Google Group, a Service Account, or a G Suite domain.

Click on the Assign roles dropdown menu. You can either scroll or type Viewer to find the Viewer role (roles/viewer), then select it.

Finally, click Save to apply the changes and grant the user the Viewer role.

Updated on: 22/04/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!