Istruzioni e requisiti di configurazione del lab
Proteggi il tuo account e i tuoi progressi. Per eseguire questo lab, utilizza sempre una finestra del browser privata e le credenziali del lab.

Request Temporary Elevated Access with Privileged Access Manager

Lab 15 minuti universal_currency_alt 7 crediti show_chart Avanzati
info Questo lab potrebbe incorporare strumenti di AI a supporto del tuo apprendimento.
Questi contenuti non sono ancora ottimizzati per i dispositivi mobili.
Per un'esperienza ottimale, visualizza il sito su un computer utilizzando un link inviato via email.

GSP1331

Google Cloud self-paced labs logo

Overview

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

Objectives

This lab focuses on to utilize Gemini for Developers in the following ways:

  • Understand the core concepts of Privileged Access Manager (PAM).
  • Gain practical experience in setting up and managing PAM entitlements for just-in-time privilege elevation.
  • Demonstrate the workflow for requesting and approving temporary elevated access using PAM.

Setup and requirements

Before you click the Start Lab button

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:

  • Access to a standard internet browser (Chrome browser recommended).
Note: Use an Incognito (recommended) or private browser window to run this lab. This prevents conflicts between your personal account and the student account, which may cause extra charges incurred to your personal account.
  • Time to complete the lab—remember, once you start, you cannot pause a lab.
Note: Use only the student account for this lab. If you use a different Google Cloud account, you may incur charges to that account.

How to start your lab and sign in to the Google Cloud console

  1. 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:

    • The Open Google Cloud console button
    • Time remaining
    • The temporary credentials that you must use for this lab
    • Other information, if needed, to step through this lab
  2. 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.

    Note: If you see the Choose an account dialog, click Use Another Account.
  3. If necessary, copy the Username below and paste it into the Sign in dialog.

    {{{user_0.username | "Username"}}}

    You can also find the Username in the Lab Details pane.

  4. Click Next.

  5. Copy the Password below and paste it into the Welcome dialog.

    {{{user_0.password | "Password"}}}

    You can also find the Password in the Lab Details pane.

  6. Click Next.

    Important: You must use the credentials the lab provides you. Do not use your Google Cloud account credentials. Note: Using your own Google Cloud account for this lab may incur extra charges.
  7. Click through the subsequent pages:

    • Accept the terms and conditions.
    • Do not add recovery options or two-factor authentication (because this is a temporary account).
    • Do not sign up for free trials.

After a few moments, the Google Cloud console opens in this tab.

Note: To access Google Cloud products and services, click the Navigation menu or type the service or product name in the Search field. Navigation menu icon and Search field

Task 1. Enable Privileged Access Manager

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.

  1. In Cloud Console, navigate to IAM & Admin > PAM.

  2. Click on Set up PAM.

  3. Click on Grant role.

  4. Click on Complete setup.

Click Check my progress to verify the objective. Enable Privileged Access Manager.

Task 2. Create the entitlement

In this task, you must create an entitlement in Privileged Access Manager.

  1. In Cloud Console, navigate to IAM & Admin > PAM > ENTITLEMENTS.

  2. Click on Create.

  3. For the entitlement name, enter pam-entitlement.

  4. For Select a Role, select Project IAM Admin.

  5. For Maximum duration, select 1 Day.

  6. For the Requester principal, enter the Primary User’s Username found in the student lab panel.

  7. For the Approver principal, enter the Secondary User’s Username found in the student lab panel.

  8. Click on Done.

  9. Click on Create entitlement.

Click Check my progress to verify the objective. Create the entitlement.

Task 3. Update the entitlement

In this task, you update the entitlement maximum duration.

  1. In Cloud Console, navigate to IAM & Admin > PAM > ENTITLEMENTS FOR ALL USERS.

  2. Click on Edit Entitlement (Edit pencil) for pam-entitlement.

  3. For Maximum duration, select 10 hours.

  4. Click on Update entitlement.

  5. Click Confirm.

Click Check my progress to verify the objective. Update the entitlement

Task 4. Request temporary elevated access

In this task, you must request and approve a grant.

  1. In Cloud Console, navigate to IAM & Admin > PAM > MY ENTITLEMENTS.

  2. Click on Request grant.

  3. For Grant duration, select 10 hours.

  4. For Justification, enter pam-test.

  5. Click on Request grant.

  6. 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.

  7. In Cloud Console, navigate to IAM & Admin > PAM > APPROVE GRANTS.

  8. Click on Approve/Deny.

  9. Click on Approve.

Click Check my progress to verify the objective. Request temporary elevated access.

Task 5. Review Approved Grant

  1. As the Secondary User, navigate to IAM & Admin > PAM > GRANTS.

  2. Select the GRANTS FOR ALL USERS tab.

  3. 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.

  1. Log out of Cloud Console and login once again with the Primary User's credentials.

  2. Navigate to IAM & Admin > PAM > GRANTS and select the MY GRANTS tab.

  3. Notice that the Primary User has been granted the Project IAM Admin role for a duration of 10 hours.

Congratulations!

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.

Prima di iniziare

  1. I lab creano un progetto e risorse Google Cloud per un periodo di tempo prestabilito
  2. I lab hanno un limite di tempo e non possono essere messi in pausa. Se termini il lab, dovrai ricominciare dall'inizio.
  3. In alto a sinistra dello schermo, fai clic su Inizia il lab per iniziare

Utilizza la navigazione privata

  1. Copia il nome utente e la password forniti per il lab
  2. Fai clic su Apri console in modalità privata

Accedi alla console

  1. Accedi utilizzando le tue credenziali del lab. L'utilizzo di altre credenziali potrebbe causare errori oppure l'addebito di costi.
  2. Accetta i termini e salta la pagina di ripristino delle risorse
  3. Non fare clic su Termina lab a meno che tu non abbia terminato il lab o non voglia riavviarlo, perché il tuo lavoro verrà eliminato e il progetto verrà rimosso

Questi contenuti non sono al momento disponibili

Ti invieremo una notifica via email quando sarà disponibile

Bene.

Ti contatteremo via email non appena sarà disponibile

Un lab alla volta

Conferma per terminare tutti i lab esistenti e iniziare questo

Utilizza la navigazione privata per eseguire il lab

Il modo migliore per eseguire questo lab è utilizzare una finestra del browser in incognito o privata. Ciò evita eventuali conflitti tra il tuo account personale e l'account studente, che potrebbero causare addebiti aggiuntivi sul tuo account personale.