Shell Script run curl command calling cyber-Ark RESTAPI

Hi All,

We have a requirement to Integrate Cyber-Ark with Informatica .

Basically cyberark will contain the username and password for Database.

First step will be
1)In shell Script run curl command calling cyber-Ark RESTAPI requesting the credentials and store the secret in a variable.

Could someone help us how to achieve the above.

Thanks