Creating a Secure Credential with Username and Password
- Last Updated: May 20, 2026
- 1 minute read
- MarkLogic Server
- Version 12.0
- Documentation
This section describes how to use the Admin Interface to create a simple secure credential that grants access to a resource by means of a username and password.
-
In the Admin Interface, click Security in the left tree menu.
-
Under Security, click Secure Credentials.
-
Click Create. The Credential page appears.
-
In the Credential Name field, enter the name of the credential.
-
Optionally specify a credential description, username, and password.
-
Leave the Credential Certificate and Credential Private Key fields empty.
-
Set the Credential Signing field to
false. -
In the Target Uri Pattern field, enter the URIs of the MarkLogic Server app servers this credential is to protect, starting with
https.Note:
A role with read capability implies execute capability, as well.
-
In the Target Authentication field, select the authentication used by the target app servers.
-
From the Role field, select the role required for a user to access the app servers.
-
From the Capability field, select the permissions required for a user to access the app servers using this credential.
-
Click OK.