IAM roles

This page describes the Identity and Access Management (IAM) roles that you can use to configure both Assured Workloads folders and Assured Workloads frameworks. Roles limit a principal's ability to access resources. Only grant a principal the permissions it needs in order to interact with applicable Google Cloud APIs, features, or resources.

Required roles for Assured Workloads folders

To create an Assured Workloads folder, you must be granted the following minimum roles. You must also be granted a Cloud Billing access control role and have an active, valid billing account. For more information about billing roles and accounts, see Overview of Cloud Billing access control. To learn how to grant, change, or revoke access to resources using IAM roles, see Granting, changing, and revoking access to resources.

  • Assured Workloads Administrator (roles/assuredworkloads.admin): For creating and deleting Assured Workloads folders.
  • Resource Manager Organization Viewer (roles/resourcemanager.organizationViewer): Access to view all resources belonging to an organization.

Assured Workloads roles

This section describes the IAM roles associated with Assured Workloads, and how to grant these roles using the Google Cloud CLI. To learn how to grant these roles in the Google Cloud console or programmatically, see Granting, changing, and revoking access to resources in the IAM documentation.

Replace the ORGANIZATION_ID placeholder with the actual organization identifier and example@customer.org with the user email address. To retrieve your organization ID, see Retrieving your organization ID.

roles/assuredworkloads.admin

For creating and deleting Assured Workloads folders, and viewing and updating organization-level Assured Workloads settings such as OLPC mode (Preview). Allows read-write access.

gcloud organizations add-iam-policy-binding ORGANIZATION_ID \
  --member="user:example@customer.org" \
  --role="roles/assuredworkloads.admin"

roles/assuredworkloads.editor

Allows read-write access to Assured Workloads folders and read-only access to organization-level Assured Workloads settings.

gcloud organizations add-iam-policy-binding ORGANIZATION_ID \
  --member="user:example@customer.org" \
  --role="roles/assuredworkloads.editor"

roles/assuredworkloads.reader

For getting and listing Assured Workloads folders and viewing organization-level Assured Workloads settings. Allows read-only access.

gcloud organizations add-iam-policy-binding ORGANIZATION_ID \
  --member="user:example@customer.org" \
  --role="roles/assuredworkloads.reader"

roles/assuredworkloads.viewer

For viewing Assured Workloads folders, frameworks, violations, and organization-level Assured Workloads settings. Allows read-only access.

gcloud organizations add-iam-policy-binding ORGANIZATION_ID \
  --member="user:example@customer.org" \
  --role="roles/assuredworkloads.viewer"

Required roles for Assured Workloads frameworks

This section describes the IAM roles associated with Assured Workloads frameworks.

To get the permissions that you need to enable Assured Workloads frameworks, ask your administrator to grant you the following IAM roles:

For more information about granting roles, see Manage access to projects, folders, and organizations.

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

Assured Workloads IAM best practices

Properly securing IAM roles to follow least privilege is a Google Cloud security best practice. This principle follows the rule that users should only have access to the products, services, and applications required by their role. Users are not restricted from using out-of-scope services with Assured Workloads workloads when deploying products and services outside of either an Assured Workloads folder or Assured Workloads frameworks projects and folders.

The list of in-scope products by data boundary helps to guide security admins when creating custom roles that limit user access to only in-scope products within the Assured Workloads folder. Custom roles are able to help support obtaining and maintaining compliance within an Assured Workloads folder.