---
title: Assigning Kron PAM Credentials to Target Databases
slug: kronpam-legacy-ui-reference-guide-3-5-0/assigning-kron-pam-credentials-to-target-databases
description: This document provides a comprehensive guide on configuring the Assigned Credential feature in Kron PAM to efficiently match users with target devices. Learn how to set up SAPM accounts, configure them for the target system, and assign credentials to spec
docTags: 
createdAt: 2022-08-01T17:14:17.000Z
---

In some cases, Kron PAM users are connected to target devices with different credentials. In other cases, there is more than one privileged user account in the target system, and different user groups use different privileged accounts to log in to target systems. The Assigned Credential feature matches the Kron PAM users with the target device users.

The following steps should be followed to configure the Assigned Credential feature. These steps enable Assigned Credential use for the device group with target databases.

1. Navigate to **Device Management&#x20;**> **Device Groups**.
2. Right-click the desired **Device Group** and select **Show Properties**.
3. Set the **addAssignedCredentialToUserSelection** property as “true” and click **Save**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/bUJbX7Y_gus0aQKlPRRyL_image.png "Assigned Credential Feature Configuration")

To set up Assigned Credential for different users, the SAPM accounts should be saved first. After saving the SAPM accounts:

1. Configure the **SAPM&#x20;**&#x61;ccount for the target system.
2. Navigate to **User Management** >**&#x20;Assigned Credentia**l.
3. Start typing in the username in the **User&#x20;**&#x74;ext box. Matching users will appear just below. Select the one for whom another credential will be assigned.
4. Select **SAPM** as the Credential Source.
5. According to the selection, either select the **SAPM Username**” and click **Save**.

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

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/z-vBmiPqvbLQT5G4Nez2__image.png "Assigned Credential Feature Configuration")

:::hint{type="info"}
Only one assigned credential must be defined for a specific database IP address for each user. If multiple assigned credentials are defined, log-in fails.
Also, the SAPM accounts must be defined for specific IP addresses.
:::

