Access control with IAM

Cloud Workstations uses Identity and Access Management (IAM) to manage access to workstations and workstation configurations. To grant access, assign one or more Identity and Access Management roles to a principal (user, group, or service account). The policy defines which roles are assigned to which principals.

Enable required Identity and Access Management roles

If the Identity and Access Management permissions you need haven't yet been set up, follow these instructions to set up one or more of the following roles:

Cloud Workstations User: for developers using a workstation

To get the permissions that you need to access a workstation, ask your administrator to grant you the following IAM roles:

For more information about granting roles, see Manage access.

You might also be able to get the required permissions through custom roles or other predefined roles.

Cloud Workstations Creator: for developers creating and connecting to workstations

To get the permissions that you need to view workstation configurations, create workstations, and access workstations, ask your administrator to grant you the following IAM roles:

For more information about granting roles, see Manage access.

You might also be able to get the required permissions through custom roles or other predefined roles.

Cloud Workstations automatically grants the Cloud Workstations User role (roles/workstations.user) on any workstation that you create as Cloud Workstations Creator.

Cloud Workstations Admin: for administrators creating and updating workstation configurations and workstation clusters

To get the permissions that you need to create the Cloud Workstations resources in your project, ask your administrator to grant you the Cloud Workstations Admin (roles/workstations.admin) IAM role on the project. For more information about granting roles, see Manage access.

You might also be able to get the required permissions through custom roles or other predefined roles.

For more information about using the Google Cloud console to change permissions, see the following section, Add users and edit permissions using the console.

Cloud Workstations Network Admin: for network administrators creating and updating Shared VPC permissions

To get the permissions that you need to create the Cloud Workstations resources in your Shared VPC, ask your administrator to grant you the Cloud Workstations Network Admin (roles/workstations.networkAdmin) IAM role on the project. For more information about granting roles, see Manage access.

You might also be able to get the required permissions through custom roles or other predefined roles.

For more information about using the Google Cloud console to change permissions, see the following section, Add users and edit permissions using the console.

Add users and edit permissions using the Google Cloud console

If you're an administrator for Cloud Workstations, you must have the Cloud Workstations Admin role (or legacy Editor or Owner role) assigned to your account.

To add users or edit permissions, follow these steps:

  1. Navigate to the Cloud Workstations Workstation configurations page.
  2. To add new users, click Add users next to the name of the configuration, and enter new user information in the New principals field.
  3. To change existing permissions on a configuration, click the arrow_drop_downexpander arrow on the row with the configuration name, select Edit permissions, and then select Add principal.

    Add users and edit permissions from the **Workstation configurations** page

    Figure 1. Add users and edit permissions from the Cloud Workstations Workstations configurations pane.