Service Users
A service user is a non-human identity (NHI) on the Delinea Platform. Integrations, scripts, and automation use service users for programmatic access, such as API calls. Service user accounts aren't associated with regular (human) users. You can create a service user directly in the Platform or add one from Active Directory.
Don't confuse Platform service users with service accounts. In Secret Server, a service account is an account in your environment that runs a Windows service, IIS application pool, or cloud workload. Secret Server discovers these accounts and rotates their passwords. See Discovery Overview (Secret Server).
How Service Users Differ from Regular Users
-
Service users aren't added to the predefined Everybody group. For more information on predefined groups, see Group Management.
-
Service users have no permissions by default. Add the service user to the appropriate group or role. Give it only the permissions its headless use case needs.
-
Service users can't be invited like regular users. An administrator creates and configures each one manually.
-
Service users can sign in to the Platform UI by default. To block UI sign-in, select Disable interactive service user login in an identity policy that applies to the service user. The service user can still authenticate through the API. For details, see Creating and Assigning an Identity Policy.
-
Multi-factor authentication (MFA) behavior depends on how the service user authenticates. The behavior is the same for local and Active Directory service users:
-
Platform UI sign-in: The MFA requirements in the service user's identity policy apply.
-
API authentication: MFA doesn't apply. Integrations authenticate with the service user's password only.
-
-
Integrations use the service user's password as the OAuth 2.0
client_secret. They send it when requesting an access token with theclient_credentialsgrant type. For details, see Authenticating with Platform APIs. Before you use a generated password, verify that the integration accepts its length and character set.
Adding Service Users
-
Navigate to the Users page to view the list of existing users.
-
On the Users page, click More in the top-right corner.
-
From the drop-down menu, select Add service user or Add external service user.
-
If you selected Add service user, complete the required fields on the form:
-
Username: A unique identifier for the service user.
-
Email address: (Optional) An email address for the service user.
-
Display name: A descriptive name for the service user, typically reflecting its purpose.
-
Set password: Set a secure password for the service user. Choose Manual or Generated. Manually entered passwords are validated against the password settings in Access > Identity Policies > [User] > User security > Password settings. See Password Settings. The Generated option creates a 40-character alphanumeric password without symbols.
-
-
On the Add service user to groups page, select the groups to assign, based on the service user's intended role and permissions. Everybody is unavailable because service users are excluded from it. For external service users, toggle View AD Group Membership to view their existing group memberships from your external directory.
To assign groups later, open the service user, select the Groups tab, click Assign Groups, and select the groups.
-
Click Add.
-
Verify that the service user appears on the Users list.
-
Click the service user name in the Users list to open the user page. Make sure the user has the correct groups and permissions assigned.
Service Users in Secret Server
When you create a service user, the Platform automatically creates a corresponding Application Account in Secret Server. No additional action is needed. This applies to local service users and service users added from Active Directory.
User Type
The User type field under Secret Server details on the service user's page shows the account's relationship with Secret Server:
-
Native: The Application Account has received synchronized information from the Platform.
-
None: The Application Account hasn't synchronized with the Platform yet. A new service user can show None until you add it to a group.
-
Hybrid: The service user was migrated from an existing Secret Server Application Account.
An Application Account stays an Application Account. Its account type can't be changed in Secret Server.
What Happens When You Change a Service User
The Platform and Secret Server track a service user's state separately. On the service user's Overview tab, Status shows the Platform state. Enabled under Secret Server details shows the Application Account's state. After you change a service user, check both values.
-
Disable or enable the service user: The Application Account follows the service user's state after the next sync. A full sync runs every 4 hours by default, so Enabled can show the old value until then.
-
Remove the service user from all groups: The Application Account doesn't change. User type and Enabled keep their values.
-
Delete the service user: The Platform disables the Application Account in Secret Server. The account isn't deleted.
Features That Need an Account Created in Secret Server
The auto-generated Application Account works for most API integration and automation use cases. However, some Secret Server features, such as Session Connector, sign in to Secret Server directly with a username and password. The auto-generated account has no usable Secret Server password. For these features, create a separate Application Account in Secret Server Cloud:
-
Open Secret Server Cloud from its own URL.
-
Select Access > Users, and then select Continue to Secret Server User Management.
-
Click Create user, and select the Application Account check box.
For details, see About Session Connector.
Troubleshooting
Issue: The service user's Secret Server user type shows None
Cause: The Application Account hasn't synchronized with the Platform yet. A new service user that isn't in any group can stay in this state.
Solution:
-
Open the service user and select the Groups tab.
-
Click Assign Groups, select a group, and click Add.
-
Reopen the service user and check User type under Secret Server details.
Issue: Secret Server details doesn't match the Platform status
Cause: You disabled or enabled the service user, and Secret Server hasn't synced the change yet. A full sync runs every 4 hours by default.
Solution:
-
Wait for the next sync.
-
Reopen the service user and check Enabled under Secret Server details.
-
If Enabled still doesn't match the Platform status after 4 hours, contact Delinea Support.
Issue: An integration rejects the generated password
Cause: The Generated option creates a 40-character alphanumeric password. Some integrations limit password length or require symbols.
Solution:
-
Open the service user and select Actions > Set password.
-
Enter a password manually that meets both the integration's requirements and the identity policy's password settings.
For more information, see: