# edp-ddm-camunda-auth-cli **Repository Path**: mirrors_epam/edp-ddm-camunda-auth-cli ## Basic Information - **Project Name**: edp-ddm-camunda-auth-cli - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-29 - **Last Updated**: 2026-01-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # camunda-auth-cli ### Overview * The cli application that creates authorizations in Camunda BPM based on input files configurations; * Removal of all access rights to regulations; * Creation of access rights to individual business processes for specified roles in configuration files. ### Usage #### Prerequisites: 1. Required input parameters: * **BPMS_URL** - the url that will be used for communication with `bpms` service (`bpms` service is used for communication with Camunda BPM through REST api) * **BPMS_TOKEN** - path to file with JWT token for communication with `bpms`. The user MUST have `camunda-admin` role (only `camunda-admin` users have permission for authorization creation) * **AUTH_FILES** - the list of config files (YAML) divided by comma. *The example below.* 2. Optional input parameters: * `logging.level.com.epam.digital.data.platform.auth.generator` (`string|default - info`) - change logging level Example: `--logging.level.com.epam.digital.data.platform.auth.generator=debug` *officer.yml* ``` authorization: realm: 'officer' process_definitions: - process_definition_id: 'business-process1' process_name: '' process_description: '' roles: - officer - citizen - process_definition_id: 'business-process2' process_name: '' process_description: '' roles: - officer_1 - officer_2 - officer_3 - process_definition_id: 'business-process3' process_name: '' process_description: '' roles: - officer_1 - officer_2 - officer_3 ``` #### Example of usage: * `java -jar app.jar --BPMS_URL=http://localhost:8080 --BPMS_TOKEN=C:/token.txt --AUTH_FILES=C:/officer-config.yml,C:/citizen-config.yml` #### Local development: 1. Build Jar file: `mvn install` 2. Run jar file: `java -jar .jar ` ### Test execution * Tests could be run via maven command: * `mvn verify` OR using appropriate functions of your IDE. ### License The camunda-auth-cli is Open Source software released under the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0).