Skip to main content

Securing MarkLogic Server

Creating a Secure Credential with Username and Password

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.

  1. In the Admin Interface, click Security in the left tree menu.

  2. Under Security, click Secure Credentials.

  3. Click Create. The Credential page appears.

  4. In the Credential Name field, enter the name of the credential.

  5. Optionally specify a credential description, username, and password.

  6. Leave the Credential Certificate and Credential Private Key fields empty.

  7. Set the Credential Signing field to false.

  8. 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.

  9. In the Target Authentication field, select the authentication used by the target app servers.

  10. From the Role field, select the role required for a user to access the app servers.

  11. From the Capability field, select the permissions required for a user to access the app servers using this credential.

  12. Click OK.