---
title: Assigning Kron PAM Credentials to Target System Accounts
slug: kronpam-reference-guide-3-9-0/assigning-kron-pam-credentials-to-target-system-accounts
description: Learn how to efficiently assign credentials to users with Kron PAM's Assigned Credentials feature. This document provides step-by-step instructions on configuring this feature within device group properties and setting up credentials for individual users.
docTags: 
createdAt: 2022-07-27T12:53:20.000Z
---

In some cases, there are more than one privileged user account in the target system and different user groups use different privileged accounts to log in to them. The Assigned Credential feature matches the Kron PAM users with different target device users from the [Password Vault](docId\:yUVFx_u4NERDT13ut4Of7).

In the example below, User A wants to connect to the target system with Account X and User B wants to connect to the target device with Account Y. In this case, User A is assigned to Account X, and User B is assigned to Account Y.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/Z3DzO7OrLZA6tJdfEMV8E_image.png" size="68" width="949" height="830" position="center" caption="Assigned Credentials " showCaption="true"}

The following steps should be followed to configure the Assigned Credentials feature and enable its use for a device group.

:::hint{type="info"}
This device group should be added to a device realm with the user group including the users beforehand.
:::

1. Log in to the Kron PAM Web GUI as an administrator.
2. Navigate to **Devices > Inventory > Device Groups.**
3. Click the desired Device Group and select **Properties**.
4. Click the **Edit&#x20;**&#x61;nd the&#x6E;**&#x20;Next&#x20;**&#x62;uttons.
5. Under the **Additional Credentials** toggle on th&#x65;**&#x20;Add Assigned Credential to Credential Selection** property.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/hhzJQLPvdMFaE5n-BVU8o_image.png" size="72" width="738" height="980" position="center" caption="Assigned Credential Configuration" showCaption="true"}

To set up the assigned credentials for different users, save the accounts to the Vault before doing anything else. After saving these accounts, follow these steps:

1. Log in to the Kron PAM Web GUI as an admin user.
2. Configure the Vault account for the target system.
3. Navigate to **User&#x20;**> **Assigned Credential**.
4. Click the **Add** button and continue with **User Selection** and **Vault Account Select** the Kron PAM user as **User&#x20;**&#x61;nd the Vault account as **Vault Account.**
5. Click the **Save&#x20;**&#x62;utton.

Once these steps are completed, assigned credentials will be used for the connection whenever the defined users try to open an SSH session.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/cYP9JNh64Vhqw6O-uI5-D_image.png "Assigned Credential Configuration")

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/kOt5yw7XBlEjiIy7R1Ucm_image.png" size="72" width="667" height="653" position="center" showCaption="false"}

To list only the accounts matching the relevant domain when listing users from the Vault account before the SSH session, follow these steps:

1. Navigate to **Secrets** > **Configuration**
2. Choose **Active Directory** > **Miscellaneous&#x20;**
3. Set **Show accounts in auto login options only if domains match**
4. Navigate t&#x6F;**&#x20;Connection&#x20;**&#x61;nd fill **LDAP** base DN according to the domain.
5. Navigate to **Devices > Inventory > Related Device > Custom Properties.**
6. Add **auth.domain&#x20;**&#x70;arameter with LDAP domain name.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/dRjye-CGFc4SMdBCZTbQH_image.png "Parameters for Active Directory Configuration")

The **Specified Time Interval&#x20;**&#x6F;ption in the **Assigned Credential** screen makes it possible to connect and perform actions for Vault Accounts defined under **Remote Application**, **SSH Proxy**, and **HTTP Proxy** services within a specific time interval. Once the time has expired, credential assignment will end and the account is not going to be listed among connection options.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/NcO2mszhub5AcqLVnQAzv_image.png" size="68" width="810" height="962" position="center" caption="Assigned Credential Specified Time Interval Definition Screen" showCaption="true"}

