This is the ServiceNow MID Server custom external credential resolver for the CyberArk vault credential storage.
CyberArk External Credential Resolver requires JDK 1.8 or newer Eclipse or any equivalent IDE
-
Clone this repository.
-
Import the project in Eclipse or any IDE.
-
Update MID Server agent path in pom.xml to point to valid MID Server location.
-
Update the code in CyberArkCredentialResolver.java to customize anything.
-
Use below maven command or IDE (Eclipse or Intellij) maven build option to build the jar.
mvn clean package
-
cyberark-external-credentials-0.0.1-SNAPSHOT.jar will be generated under target folder.
-
Make sure that “External Credential Storage” plugin (com.snc.discovery.external_credentials) is installed in your ServiceNow instance.
-
Import the cyberark-external-credentials-0.0.1-SNAPSHOT.jar file from target folder in ServiceNow instance.
- Navigate to MID Server – JAR Files
- Create a New Record by clicking New
- Name it “CyberArkCredentialResolver”, version 0.0.1 and attach cyberark-external-credentials-0.0.1-SNAPSHOT.jar from target folder.
- Click Submit
-
Update the config.xml in MID Server with below parameters and restart the MID Server.
-
Create Credential in the instance with "External credential store" flag activated.
-
Ensure that the "Credential ID" match the Credential name in your CyberArk credential vault (ex: mycredname)