Instructions et exigences de configuration de l'atelier
Protégez votre compte et votre progression. Utilisez toujours une fenêtre de navigation privée et les identifiants de l'atelier pour exécuter cet atelier.

Request Temporary Elevated Access with Privileged Access Manager

Atelier 15 minutes universal_currency_alt 7 crédits show_chart Avancé
info Cet atelier peut intégrer des outils d'IA pour vous accompagner dans votre apprentissage.
Ce contenu n'est pas encore optimisé pour les appareils mobiles.
Pour une expérience optimale, veuillez accéder à notre site sur un ordinateur de bureau en utilisant un lien envoyé par e-mail.

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.

Avant de commencer

  1. Les ateliers créent un projet Google Cloud et des ressources pour une durée déterminée.
  2. Les ateliers doivent être effectués dans le délai imparti et ne peuvent pas être mis en pause. Si vous quittez l'atelier, vous devrez le recommencer depuis le début.
  3. En haut à gauche de l'écran, cliquez sur Démarrer l'atelier pour commencer.

Utilisez la navigation privée

  1. Copiez le nom d'utilisateur et le mot de passe fournis pour l'atelier
  2. Cliquez sur Ouvrir la console en navigation privée

Connectez-vous à la console

  1. Connectez-vous à l'aide des identifiants qui vous ont été attribués pour l'atelier. L'utilisation d'autres identifiants peut entraîner des erreurs ou des frais.
  2. Acceptez les conditions d'utilisation et ignorez la page concernant les ressources de récupération des données.
  3. Ne cliquez pas sur Terminer l'atelier, à moins que vous n'ayez terminé l'atelier ou que vous ne vouliez le recommencer, car cela effacera votre travail et supprimera le projet.

Ce contenu n'est pas disponible pour le moment

Nous vous préviendrons par e-mail lorsqu'il sera disponible

Parfait !

Nous vous contacterons par e-mail s'il devient disponible

Un atelier à la fois

Confirmez pour mettre fin à tous les ateliers existants et démarrer celui-ci

Utilisez la navigation privée pour effectuer l'atelier

Le meilleur moyen d'exécuter cet atelier consiste à utiliser une fenêtre de navigation privée. Vous éviterez ainsi les conflits entre votre compte personnel et le compte temporaire de participant, qui pourraient entraîner des frais supplémentaires facturés sur votre compte personnel.