/api/2.0/fo/vault/?action=create
[POST]
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 |
Description |
action=create |
(Required) |
echo_request={0|1} |
(Optional) Specify 1 to view (echo) input parameters in the XML output. By default these are not included. |
title={value} |
(Required) The vault title. |
type={value} |
(Required) 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) User defined comments. |
{vault settings} |
(Required) 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://qualysapi.qualys.com/api/2.0/fo/vault/index.php"
XML output
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE SIMPLE_RETURN SYSTEM "https://qualysapi.qualys.com/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