External Credential Vault Integration – HashiCorp
348153Participant2 years, 7 months ago #3278
We are integrating the HashiCorp Vault for Credential Vault. We are following the CyberArk Credential Vault document for the development and integration. We are passing the Username and fetching the Password from the HashiCorp through the inline function via script. But we don’t know how to update the Username and Password to Ignio to login into the server.
Is there any predefined parameter(attribute) available to update the Username and Password inside the script?
Ramyambikaa RanjithkumarMember2 years, 7 months ago #3289::
ignio Credential functionality refers to securekey for password parameter. Password can be fetched and sent to ignio by assigning to securekey variable. Add username and password as output parameters to Inline function.
Sample Variable declaration:
Sample Code For encrypting the password:
def decryptionKeyHandler = com.digitate.ignio.platform.proxyagent.ProxyAgentApplicationContextProvider.getApplicationContext().getBean(com.digitate.ignio.platform.proxyagent.commons.handler.DecryptionKeyHandler.class);
def decryptionKey = decryptionKeyHandler.getDecryptionKey();
def encryptedPassword =com.digitate.common.crypt.base.Cryptors.getSymetricCryptor(decryptionKey).encrypt(password);
outputMap.username = username;
outputMap.securekey = encryptedPassword;
You must be logged in to reply to this topic.