
Before you begin
- Labs create a Google Cloud project and resources for a fixed time
- Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
- On the top left of your screen, click Start lab to begin
Enable Privileged Access Manager
/ 25
Create the entitlement
/ 25
Update the entitlement
/ 25
Request temporary elevated access
/ 25
Privileged Access Manager (PAM) is a security solution that helps organizations manage and secure access to sensitive resources and data. It enables the granting of just-in-time, temporary elevated privileges to users only when and for as long as they need them, minimizing the risk associated with standing privileged accounts. By enforcing granular control and providing an audit trail, PAM helps reduce the attack surface and improve overall security posture.
For more detailed information, refer to the official documentation: Privileged Access Manager (PAM) documentation
This lab focuses on to utilize Gemini for Developers in the following ways:
Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources are made available to you.
This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
Click the Start Lab button. If you need to pay for the lab, a dialog opens for you to select your payment method. On the left is the Lab Details pane with the following:
Click Open Google Cloud console (or right-click and select Open Link in Incognito Window if you are running the Chrome browser).
The lab spins up resources, and then opens another tab that shows the Sign in page.
Tip: Arrange the tabs in separate windows, side-by-side.
If necessary, copy the Username below and paste it into the Sign in dialog.
You can also find the Username in the Lab Details pane.
Click Next.
Copy the Password below and paste it into the Welcome dialog.
You can also find the Password in the Lab Details pane.
Click Next.
Click through the subsequent pages:
After a few moments, the Google Cloud console opens in this tab.
In this task, you must enable Privileged Access Manager and then grant a role to the agent. Login to the Google Cloud Console with the Primary User's credentials in the student lab panel at the top left.
In Cloud Console, navigate to IAM & Admin > PAM.
Click on Set up PAM.
Click on Grant role.
Click on Complete setup.
Click Check my progress to verify the objective.
In this task, you must create an entitlement in Privileged Access Manager.
In Cloud Console, navigate to IAM & Admin > PAM > ENTITLEMENTS.
Click on Create.
For the entitlement name, enter pam-entitlement
.
For Select a Role, select Project IAM Admin.
For Maximum duration, select 1 Day.
For the Requester principal, enter the Primary User’s Username found in the student lab panel.
For the Approver principal, enter the Secondary User’s Username found in the student lab panel.
Click on Done.
Click on Create entitlement.
Click Check my progress to verify the objective.
In this task, you update the entitlement maximum duration.
In Cloud Console, navigate to IAM & Admin > PAM > ENTITLEMENTS FOR ALL USERS.
Click on Edit Entitlement () for pam-entitlement
.
For Maximum duration, select 10 hours.
Click on Update entitlement.
Click Confirm.
Click Check my progress to verify the objective.
In this task, you must request and approve a grant.
In Cloud Console, navigate to IAM & Admin > PAM > MY ENTITLEMENTS.
Click on Request grant.
For Grant duration, select 10 hours.
For Justification, enter pam-test
.
Click on Request grant.
Login to Cloud Console as the Secondary User in a new incognito tab. The Secondary User credentials are found in the lab panel at the top left of this lab.
In Cloud Console, navigate to IAM & Admin > PAM > APPROVE GRANTS.
Click on Approve/Deny.
Click on Approve.
Click Check my progress to verify the objective.
As the Secondary User, navigate to IAM & Admin > PAM > GRANTS.
Select the GRANTS FOR ALL USERS tab.
Review the table provided to understand the grants that are available and active. You will notice the Requester
is the Primary User and the Approver
is the Secondary User.
This allows the Primary User to utilize the role Project IAM Admin to make updates to IAM roles for 10 hours.
Log out of Cloud Console and login once again with the Primary User's credentials.
Navigate to IAM & Admin > PAM > GRANTS and select the MY GRANTS tab.
Notice that the Primary User has been granted the Project IAM Admin role for a duration of 10 hours.
In this lab you learned how to manage temporary elevated access using Privileged Access Manager by configuring entitlements and just-in-time grants to elevate priviledged for a specific user.
Manual Last Updated May 26th, 2025
Lab Last Tested May 26th, 2025
Copyright 2025 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
This content is not currently available
We will notify you via email when it becomes available
Great!
We will contact you via email if it becomes available
One lab at a time
Confirm to end all existing labs and start this one