Create a vault in the user's account.
Permissions - Managers can create vaults. Unit Managers can create vaults if they are granted the permission "Create/edit authentication records/vaults".
Parameter |
Required/Optional |
Data Type |
Description |
---|---|---|---|
action=create |
Required | String |
Use the parameter “action=create” to create the vaults. |
echo_request={0|1} |
Optional | Integer |
Specify 1 to view (echo) input parameters in the XML output. By default these are not included. |
title={value} |
Required | String |
The vault title. |
type={value} |
Required | Integer |
The vault type. A valid value is: BeyondTrust PBPS | CA Access Control | CyberArk AIM | CyberArk PIM Suite | Hitachi ID PAM | Lieberman ERPM | Quest Vault | Thycotic Secret Server | Wallix AdminBastion (WAB) |
comments={value} |
Optional | String |
User defined comments. |
{vault settings} |
Required | String |
Click here for vault settings. |
API Request
curl -u "USERNAME:PASSWORD" -H "X-Requested-With: curl" -d "action=create&type=CyberArk AIM&title=New-CyberArk-AIM&appid=CyberArk007&safe=Vaultsafe&url=https://afco.com&ssl_verify=1&cert=-----BEGIN+CERTIFICATE-----%0D%0AMIIDXzCCAkcCAQEwDQYJKoZIwdjELMAkGA1UEBhM%0D%0A-----END+CERTIFICATE-----&private_key_pwd=password&private_key=-----BEGIN+RSA+PRIVATE+KEY-----%0D%0AMIIEowIBAAKCAQEAmbSGAPwS662q5SsJ2XA2mVvKOfXa%2%0D%0A-----END+RSA+PRIVATE+KEY-----""https://<qualys_base_url>/api/2.0/fo/vault/index.php"
XML Output
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE SIMPLE_RETURN SYSTEM "https://<qualys_base_url>/api/2.0/simple_return.dtd">
<SIMPLE_RETURN>
<RESPONSE>
<DATETIME>2018-03-02T06:10:02Z</DATETIME>
<TEXT>Success</TEXT>
<ITEM_LIST>
<ITEM>
<KEY>ID</KEY>
<VALUE>7004</VALUE>
</ITEM>
</ITEM_LIST>
</RESPONSE>
</SIMPLE_RETURN>
<platform API server>/api/2.0/simple_return.dtd