> For the complete documentation index, see [llms.txt](https://newdocs.keeper.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://newdocs.keeper.io/en/keeperpam/privileged-access-manager/just-in-time-access-jit/keeper-privileged-cloud/using-privileged-cloud-jit-elevation-with-idp-authentication.md).

# Using Privileged Cloud JIT Elevation with IDP Authentication

<figure><img src="/files/plp0Evhkj6v8Xr0y1KiB" alt=""><figcaption></figcaption></figure>

### Overview

This guide explains how Keeper Privileged Cloud handles elevation through either a direct identity provider or a federated identity provider.

Use direct authentication when the target platform manages identity in its own provider. Use federated authentication when the target platform relies on a separate provider for authentication and authorization.

In both models, KeeperPAM applies Workflow and JIT settings to grant temporary access through the identity provider for the approved time window.

### Choose the Authentication Model

**Direct authentication** means KeeperPAM authenticates and authorizes the user against the identity provider defined on the target PAM configuration. For example, if AWS is configured as the PAM network, the gateway communicates directly with AWS IAM.

**Federated authentication** means the target PAM network uses a separate identity provider for authentication and authorization. For example, AWS Identity Center can federate to Azure Entra ID, and KeeperPAM applies the elevation through the Azure tenant.

### Example - AWS using Identity Center, with Azure Entra ID as Federated IDP

In the following example, an AWS tenant is configured to use Entra ID as it's source of authentication and authorization.

For this to work, the following steps need to be taken:

1. In Keeper Vault, create separate folders for each tenant. In this example:
   1. "AWS Resources Folder"
   2. "Azure Resources Folder"
2. Create a Secrets Manager Application in Keeper Vault for each tenant.
3. The federated identity application must be given access to the application using a federated identity, due to access permissions required by the gateway to read resource settings within that application. In this example, the "AWS Resources Folder" must be able to be accessed by the "Azure Application" — at a minimum, read only access is required.
4. Create a PAM configuration for each cloud provider using the steps outlined in the [PAM Configuration](/en/keeperpam/privileged-access-manager/getting-started/pam-configuration.md) pages:
   1. [AWS Environment Setup](/en/keeperpam/privileged-access-manager/getting-started/pam-configuration/aws-environment-setup.md)
   2. [Azure Environment Setup](/en/keeperpam/privileged-access-manager/getting-started/pam-configuration/azure-environment-setup.md)
5. Provision a gateway that can access the Azure tenant — this is necessary because we are using Azure as the Identity Provider to elevate the user's access through the workflow and JIT settings of a record.
6. If needed, provision a gateway that can access the AWS tenant — this is needed when a PAM Machine or Database is provisioned in AWS that needs to be accessed by a user via Keeper Vault records.
7. Follow the documentation from Amazon for integrating AWS Identity Center into Azure Entra ID. The documentation can be found in the official AWS help pages: <https://docs.aws.amazon.com/singlesignon/latest/userguide/idp-microsoft-entra.html>
8. Set the AWS PAM configuration to federate identity through the Azure PAM configuration. An example will be provided below.

### Creating a KSM Application

As stated above, a folder has been created for each of the applications being configured. For more information on Keeper Secrets Manager applications, see [Applications](/en/keeperpam/privileged-access-manager/getting-started/applications.md) on how to create KSM applications.

#### AWS Application

<figure><img src="/files/nNcvz0B51f3NsJfOnI4W" alt=""><figcaption></figcaption></figure>

#### Azure Application

<figure><img src="/files/wQeK271eeUncQgUTQl4k" alt=""><figcaption></figcaption></figure>

### Creating the PAM Configurations

In this example, both AWS and Azure tenants have been configured as PAM networks. The AWS PAM configuration points to the Azure PAM configuration as its source of identity (federated directory). To enable this feature, the "Federated Directory" box must be checked, and the correct IDP selected from the list.

#### AWS PAM Configuration

<figure><img src="/files/IsZ93UaqY4S7Cd9J7Wgd" alt=""><figcaption></figcaption></figure>

#### Azure PAM Configuration

<figure><img src="/files/LFOvmQthO7JtWmYd5kzx" alt=""><figcaption></figcaption></figure>

Once these PAM configurations are setup correctly, and the IDP is integrated with the cloud platform, JIT elevation should occur within the IDP tenant when a user either requests access or elevates their permissions.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://newdocs.keeper.io/en/keeperpam/privileged-access-manager/just-in-time-access-jit/keeper-privileged-cloud/using-privileged-cloud-jit-elevation-with-idp-authentication.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
