Create entitlements in Privileged Access Manager
Stay organized with collections
Save and categorize content based on your preferences.
You can create entitlements to allow temporary privilege elevation for a select
set of principals. Keep the following in mind when creating entitlements:
You can create entitlements at the organization, folder, or project level.
Roles granted by an entitlement at each level follow the Google Cloud
resource hierarchy. For
example, roles granted by an entitlement at the organization level are
inherited at the folder and project levels.
If Security Command Center Premium or Enterprise tier is activated, then you can mandate
more than one approval level per entitlement, allowing up to two levels of
sequential approvals for each entitlement. You can mandate up to five
approvals per level.
After the required number of first-level approvals are received, email
notifications are sent to second-level approvers. After the required number of
second-level approvals are received, the grant moves to the active
state. If any approver denies the grant, then the grant moves to the denied
state and is not sent to any additional approvers.
If service accounts and agent identities are allowed to approve grants for this
resource, then you can add service accounts, agent identities, and workload
pool identities as approvers. To learn how to enable this
setting, see Configure Privileged Access Manager settings.
If you add a group as a requester to an entitlement, all individual accounts
in that group can request a grant of that entitlement. However, only the
individual account requesting the grant can receive elevated privileges.
If you add a group as an approver to an entitlement, all individual accounts
in that group can approve or deny a grant request.
Basic roles (Admin, Writer, and Reader) are
supported, but legacy basic roles
(Owner, Editor, and Viewer) are not supported.
Privileged Access Manager only supports services that support granular access
through IAM because it uses IAM conditions to manage
temporary access.
Don't include service agent roles in entitlements.
Some service agent roles contain very powerful permissions, and the permissions within these roles
can change without notice. Instead, choose a different
predefined role, or create a
custom role with the permissions you need.
Before you begin
To get the permissions that
you need to create entitlements,
ask your administrator to grant you the
following IAM roles on the organization, folder, or project that you want to create entitlements for:
These predefined roles contain
the permissions required to create entitlements. To see the exact permissions that are
required, expand the Required permissions section:
Required permissions
The following permissions are required to create entitlements:
To create entitlements and grants for an organization:
Select the organization, folder, or project you want the entitlement to
apply to.
Click the Entitlements tab.
Click Create.
In the Entitlement details section, enter the following entitlement details:
An entitlement name.
An entitlement name can have 4 to 63 characters. It must start
with a lowercase letter and can only contain
lowercase letters, numbers, and hyphens.
Up to 30 roles to be granted on the organization, folder, or project.
You can also add IAM
conditions to these roles in the same way
that you add conditions to allow policy role bindings.
The maximum duration for a grant. The maximum duration you
can set for an entitlement is 7 days.
Click Next.
In the Add requesters section, enter up to 20 valid requesting principals
for the entitlement.
All principal types are supported
except allUsers and allAuthenticatedUsers. You can add more than 20
identities by adding them to a group and listing the group in the
entitlement.
Choose whether the principals need to provide a justification for the
grant request.
Enter additional email addresses of users to be notified when the entitlement
is eligible to request.
Google identities associated with the entitlement, like approvers and
requesters, are automatically notified. However, if you want to notify
additional people, then you can add their email addresses. This is
especially useful if you're using workforce identities
instead of Google Accounts.
Click Next.
In the Add approvers section, do one of the following:
To allow role grants without approval, select Activate access without approvals.
To mandate approvals, do the following:
Optional: To require approvers to enter justifications for approving requests,
select Justification required from approvers.
Enter first-level approver details:
A list of approvers for the entitlement
You can add any of the following principal types as approvers:
Google accounts
Google groups
Google Workspace domains
Workforce pool identifiers
Workload pool identifiers
Service accounts and agent identities
Service accounts, agent identities, and workload pool
identifiers are available only
if service accounts and agent identities are allowed to approve
grants for this resource. For details, see Configure Privileged Access Manager settings.
Number of approvals required
If you added a group as an approver, ensure that the number of required
approvals is less than or equal to the number of principals in the group.
Otherwise, grants will remain perpetually stuck in the approval awaited
state.
Approvers' email addresses for notification
Optional: Add second-level approver details:
A list of approvers for the entitlement
You can add any of the following principal types as approvers:
Google accounts
Google groups
Google Workspace domains
Workforce pool identifiers
Workload pool identifiers
Service accounts and agent identities
Service accounts, agent identities, and workload pool
identifiers are available only
if service accounts and agent identities are allowed to approve
grants for this resource. For details, see Configure Privileged Access Manager settings.
Number of approvals required
If you added a group as an approver, ensure that the number of required
approvals is less than or equal to the number of principals in the group.
Otherwise, grants will remain perpetually stuck in the approval awaited
state.
Approvers' email addresses for notification
You can add up to 20 approving principals (identities or groups) per approval.
If you want to add more than 20 approvers, you can do so by adding them to a
group and listing the group as an approver for the entitlement.
The
gcloud alpha pam entitlements create
command creates an entitlement at the organization, folder,
or project level.
Before using any of the command data below,
make the following replacements:
ENTITLEMENT_ID: The entitlement ID to create. An
ID must be 4-63 characters in length, and use the following characters:
[a-z0-9-]. The first character must
be a letter.
RESOURCE_TYPE: Optional. The resource type that
the entitlement belongs to. Use the value organization,
folder, or project.
SCOPE: The organization, folder, or project to
create the entitlement in, in the format of
organizations/ORGANIZATION_ID,
folders/FOLDER_ID, or
projects/PROJECT_ID. Project IDs are
alphanumeric strings, like my-project. Folder and
organization IDs are numeric, like 123456789012.
RESOURCE_MANAGER_RESOURCE_TYPE: Either
Organization, Folder, or Project,
depending on the scope.
ROLE: The
roles to assign when an
entitlement is granted.
MAXIMUM_GRANT_DURATION: The maximum duration a grant can be requested for, in seconds, ending with an s suffix. For example, to specify 30 minutes, use 1800s. The supported range is between 30 minutes (1800s) and 168 hours (604800s).
REQUESTING_MEMBER: Principals that can
request that the entitlement be granted. All
principal types are supported except allUsers
and allAuthenticatedUsers.
APPROVING_MEMBER: Principals that can
approve the entitlement request. The valid
principal types are as
follows:
User
Group
Domain
Workforce pool identifiers
Workload pool identifiers
This is available only if service accounts and agent identities are allowed to approve entitlement requests for this resource. For details, see Configure Privileged Access Manager settings.
Service accounts and agent identities
This is available only if service accounts and agent identities are allowed to approve entitlement requests for this resource. For details, see Configure Privileged Access Manager settings.
APPROVALS_NEEDED: The number of approvers required to approve the entitlement request.
If you added a group as an approver, ensure that the number of required
approvals is less than or equal to the number of principals in the group.
Otherwise, grants will remain perpetually stuck in the approval awaited state.
APPROVER_EMAIL_ADDRESSES: Optional. Additional email
addresses to notify when a grant has been requested. Google identities
associated with grant approvers are automatically notified. However, you
might want to notify a different set of email addresses, especially if
you're using
Workforce Identity Federation.
ADMIN_EMAIL_ADDRESS: Optional. Additional email
addresses to notify when a requester is granted access. Google identities
associated with grant approvers are automatically notified. However, you
might want to notify a different set of email addresses, especially if
you're using
Workforce Identity Federation.
REQUESTER_EMAIL_ADDRESS: Optional. Additional
email addresses to notify when this entitlement is available to request.
Google identities associated with grant requesters are automatically
notified. However, you might want to notify a different set of email
addresses, especially if you're using
Workforce Identity Federation.
CONDITION_EXPRESSION: Optional. The condition expression that specifies when the principal can use the permissions in the role. This condition only applies when the grant is active.
Save the following content in a file called entitlement.yaml:
The Privileged Access Manager API's
createEntitlement
method creates an entitlement at the organization, folder,
or project level.
Before using any of the request data,
make the following replacements:
SCOPE: The organization, folder, or project to
create the entitlement in, in the format of
organizations/ORGANIZATION_ID,
folders/FOLDER_ID, or
projects/PROJECT_ID. Project IDs are
alphanumeric strings, like my-project. Folder and
organization IDs are numeric, like 123456789012.
ENTITLEMENT_ID: The entitlement ID to create. An
ID must be 4-63 characters in length, and use the following characters:
[a-z0-9-]. The first character must
be a letter.
RESOURCE_MANAGER_RESOURCE_TYPE: Either
Organization, Folder, or Project,
depending on the scope.
ROLE: The
roles to assign when an
entitlement is granted.
MAXIMUM_GRANT_DURATION: The maximum duration a grant can be requested for, in seconds, ending with an s suffix. For example, to specify 30 minutes, use 1800s. The supported range is between 30 minutes (1800s) and 168 hours (604800s).
REQUESTING_MEMBER: Principals that can
request the entitlement be granted. All
principal types are supported except allUsers
and allAuthenticatedUsers.
APPROVING_MEMBER: Principals that can
approve the entitlement request. The valid
principal types are as
follows:
User
Group
Domain
Workforce pool identifiers
Workload pool identifiers
This is available only if service accounts and agent identities are allowed to approve entitlement requests for this resource. For details, see Configure Privileged Access Manager settings.
Service accounts and agent identities
This is available only if service accounts and agent identities are allowed to approve entitlement requests for this resource. For details, see Configure Privileged Access Manager settings.
APPROVALS_NEEDED: The number of approvers required to approve the entitlement request.
If you added a group as an approver, ensure that the number of required
approvals is less than or equal to the number of principals in the group.
Otherwise, grants will remain perpetually stuck in the approval awaited state.
APPROVER_EMAIL_ADDRESSES: Optional. Additional email
addresses to notify when a grant has been requested. Google identities
associated with grant approvers are automatically notified. However, you
might want to notify a different set of email addresses, especially if
you're using
Workforce Identity Federation.
ADMIN_EMAIL_ADDRESS: Optional. Additional email
addresses to notify when a requester is granted access. Google identities
associated with grant approvers are automatically notified. However, you
might want to notify a different set of email addresses, especially if
you're using
Workforce Identity Federation.
REQUESTER_EMAIL_ADDRESS: Optional. Additional
email addresses to notify when this entitlement is available to request.
Google identities associated with grant requesters are automatically
notified. However, you might want to notify a different set of email
addresses, especially if you're using
Workforce Identity Federation.
CONDITION_EXPRESSION: Optional. The condition expression that specifies when the principal can use the permissions in the role. This condition only applies when the grant is active.
HTTP method and URL:
POST https://privilegedaccessmanager.googleapis.com/v1beta/SCOPE/locations/global/entitlements?entitlementId=ENTITLEMENT_ID
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-07-21 UTC."],[],[]]