Add account
This method adds a new privileged account
-
Make sure there are no spaces in the URL.
-
The following characters are not supported in URL values: + & %
-
If the URL includes a dot (.), add a forward slash (/) at the end of the URL. For example: api/Safes/MySafe/Members/user@cyber.com/
Select the method you want to use:
To run this web service, you must have the following permission in the Vault:
-
Add account
-
Update password or Update password properties
You require an additional license to add SSH keys to the Vault. For more information, contact your CyberArk representative. |
URL
|
|
Resource information
HTTP method |
POST |
Content type |
application/json |
Header parameter
Parameter |
Description |
---|---|
Authorization |
The token that identifies the session, encoded in BASE 64. See Authentication. Type: String Mandatory: Yes Default value: None |
Body parameters
|
Parameter |
Name | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
The name of the account. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
Account name | ||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
address |
||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
String |
||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
The name or address of the machine where the account will be used. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
vDNS/IP/URL where the account is managed |
||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
userName | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
String | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
Account user's name. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
User name | ||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
platformId (required) | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
The platform assigned to this account. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
Valid platform IDs, example: WinServerLocal | ||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
SafeName (required) | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
String | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
The Safe where the account will be created. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
Safe name | ||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
secret | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
The password value. This will not be returned in the API output. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
password or private SSH key | ||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
secretType | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
The type of password. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
password, key | ||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
userName | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
Account user's name. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
User name | ||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
platformAccountProperties | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
Object containing key-value pairs to associate with the account, as defined by the account platform. These properties are validated against the mandatory and optional properties of the specified platform's definition. Optional properties that do not exist on the account will not be returned here. Internal properties are not returned. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
example: {"Location": "IT", "OwnerName": "MSSPAdmin"} | ||||||||||||||||||||||||||||||||||||||||||||||||||
secretManagement
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
remoteMachinesAccess
|
Result
|
Parameter |
id | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
The ID of the account. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
Valid account ID | ||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
safeName | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
The Safe where the account is created. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
Safe name | ||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
platformId | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
The platform assigned to this account. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
Valid platform IDs, example: WinServerLocal | ||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
address | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
The name or address of the machine where the account will be used. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
vDNS/IP/URL where the account is managed | ||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
name | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
The name of the account. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
Account name | ||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
secretType | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
The type of password. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
password, key | ||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
userName | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
Account user's name. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
User name | ||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
platformAccountProperties | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
Object containing key-value pairs to associate with the account, as defined by the account platform. Optional properties that do not exist on the account will not be returned here. Internal properties are not returned. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
example: {"Location": "IT", "OwnerName": "MSSPAdmin"} | ||||||||||||||||||||||||||||||||||||||||||||||||||
secretManagement
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
remoteMachinesAccess
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
Parameter |
createdDateTime | ||||||||||||||||||||||||||||||||||||||||||||||||||
Type |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
Date and time account was created. |
||||||||||||||||||||||||||||||||||||||||||||||||||
Valid values |
date-time |
URL
|
Resource information
HTTP method |
POST |
Content type |
application/json |
Header parameter
Parameter |
Description |
---|---|
Authorization |
The token that identifies the session, encoded in BASE 64. See Authentication. Type: String Mandatory: Yes Default value: None |
Body parameters
|
Parameter |
safe (mandatory) |
Type |
String |
Description |
The Safe where the account will be created. |
Valid values |
Safe name |
Parameter |
platformID (mandatory) |
Type |
String |
Description |
The platform assigned to this account. |
Valid values |
Platform ID |
Parameter |
address |
Type |
String |
Description |
The name or address of the machine where the account will be used. |
Valid values |
Machine name or address |
Parameter |
accountName |
Type |
String |
Description |
The name of the account. |
Valid values |
Account name |
Parameter |
password (mandatory) |
Type |
String |
Description |
The password value. |
Valid values |
Password |
Parameter |
username |
Type |
String |
Description |
The name of the user who will use the account on the target machine. |
Valid values |
User name on the target machine |
Parameter |
groupName |
Type |
String |
Description |
The name of the group with which the account will be associated . |
Valid values |
Group name |
Parameter |
groupPlatformID |
Type |
String |
Description |
The ID of the platform that manages the account group. |
Valid values |
Group platform ID |
Parameter |
disableAutoMgmt |
Type |
Boolean |
Description |
Whether or not automatic management will be disabled for this account. |
Valid values |
true/false |
Default |
false |
Parameter |
disableAutoMgmtReason |
Type |
String |
Description |
The reason why the account was disabled for auto-management. |
Valid values |
- |
Parameter |
dynamicProperties |
Type |
List |
Description |
List of name=value pairs |
Valid values |
- |
Parameter |
ExtraPass1Name |
Type |
String |
Description |
The name of the logon account. Logon account |
Valid values |
- |
Parameter |
ExtraPass1Folder |
Type |
String |
Description |
The folder where the logon account is stored. |
Valid values |
Folder |
Default |
"Root" |
Parameter |
ExtraPass1Safe |
Type |
String |
Description |
The Safe where the logon account is stored. |
Valid values |
Safe name |
Parameter |
ExtraPass3Name |
Type |
String |
Description |
The name of the reconcile account. |
Valid values |
Reconcile account |
Parameter |
ExtraPass3Folder |
Type |
String |
Description |
The folder where the reconcile account is stored. |
Valid values |
Folder |
Default |
"Root" |
Parameter |
ExtraPass3Safe |
Type |
String |
Description |
The Safe where the reconcile account is stored. |
Valid values |
Safe name |
Result
None
Return codes
For a complete list of return codes, see Return Codes.