---
title: User Settings to use SSO
slug: kron-dam-reference-guide-3-7-0/user-settings-to-use-sso
docTags: 
createdAt: 2025-01-14T09:43:59.305Z
---

Create a user that will connect to the target database with SSO.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/JzsjY2Qw-3D8EjWznBEuQ_.blob "In this example ssouser will connect to MSSQL with SSO  ")

The second password definition is required to provide authentication to the SQL Proxy when using SSO. In the Portal Functions screen, the Second Password Enabled function should be assigned to the user group that will use the SQL Proxy SSO feature.&#x20;

To activate the second password use:

1. Navigate to **Portal Function > Function Group Definition > Add+** 
2. Create a Function group that has **netright.users.module.Visibility&#x20;**&#x61;nd **second.password.enabled** 

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/hBLS5tpXDRSxO_voooBeu_.blob "SSO Function Group")

- Fill in the realm name, select the SSO function group and the user group that will be using the SSO feature for SQL Proxy, and click Save. 

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/-06ZZ2_T-B4k1g4IKBu3E_.blob "SSO Second Password Enabled function ")

After enabling the second password for a user group, the users in that group can assign their second passwords to their accounts in the Account Settings screen.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/U4-A-dr6ahDCzqkrmf3hP_.blob "User Profile Settings ")

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/x_YT7_4lHqwleiaUkcDhA_.blob "User Profile Settings ")

:::hint{type="info"}
The Second Password expiration parameter should be defined in the System Config Manager. The TTL day parameter defines the maximum use time allowed for the Second Password. 

1. Navigate t&#x6F;**&#x20;Administration** > **System Config Man**. 
2. Add the **aioc.second.password.ttl** parameter with a value (in days). 

If this value is set to "-1" and “0”, the SSH Key will never expire. The TTL value can be set between -1 and 10000. 
:::

