Use Ignio platform Cyberark vault in custom Studio function
sandeep.mohantyParticipant3 years, 1 month ago #3295
Trying to get the password from Cyberark central vault via ignio platform in custom groovy function.
Team have tried the confluence wiki link
to fetch credentials from Ignio’s internal vault with uname/password hardcoded instead of CyberArk vault and getting NULL output
Looking for groovy code which could help in fetching the password from credential vault which was created in Cheetah UI as CyberArkCredentialEntry type instead of a credential applied over a particular entity.
AnonymousInactive3 years, 1 month ago #3351::
Step 1. Your Groovy Code should be run on proxy
Step 2. In the preblock fetch the credential from policy like
// subject is node where you have attached the credential policy
// Set credential Model in inputMap
inputMap << [“credentialNodeModel”:credentialNodeModel];
Step 3. In main code get it from input parameter like this
sandeep.mohantyParticipant3 years, 1 month ago #3353::
Thanks Sunit for your response.
This is the same instruction from wiki page. Team tried same code for an entity on which credential option used was CyberArkCredentialEntry and got NULL response
This works for fetching credential from Ignio vault but we need to fetch from CyberArk central vault.
You must be logged in to reply to this topic.