Set the Security Credentials Using Gradle
Overview
MarkLogic Data Hub provides default roles:
Learn more: Users and Roles
The security role definitions are stored as JSON files in your local project directory under your-project-root/src/main/hub-internal-config/security/roles. Learn more: Project Structure
You can set the user credentials in the appropriate gradle*.properties file or you can specify them at the command line when running the Gradle task.
Before you begin
You need:
-
A supported Java JRE:
- For version 6.2.1: Java JRE (OpenJDK) 17 or higher
- For version 6.2.0: Java JRE (OpenJDK) 8 or higher
- MarkLogic Server (See Version Compatibility.)
- Gradle 8.3 or higher