Get Safes
This method returns a list of all Safes in the Vault that the user has permissions for. The user who runs this web service must be the owner of the Safes that are returned in the list.
Select the method that you want to use:
URL
|
Make sure there are no spaces in the URL. The following characters are not supported in URL values: + & % |
Resource information
HTTP method |
Content type |
---|---|
GET |
application/json |
Header parameter
Parameter |
Description |
---|---|
Authorization |
The token that identifies the session, encoded in BASE 64. Type: String Mandatory: Yes Default value: None |
URL parameters
{ "Safes": [ { "safeUrlId": "AccountsFeedDiscoveryLogs", "safeName": "AccountsFeedDiscoveryLogs", "safeNumber": 20, "description": "", "location": "\\", "creator": { "id": "2", "name": "Administrator" }, "olacEnabled": false, "managingCPM": "PasswordManager", "numberOfVersionsRetention": null, "numberOfDaysRetention": 1, "autoPurgeEnabled": false, "creationTime": "1604393826", "lastModificationTime": 1604876425326615 }, { "safeUrlId": "PasswordManagerSafe", "safeName": "PasswordManagerSafe", "safeNumber": 21, "description": "This is PasswordManager safe.", "location": "\\", "creator": { "id": "14", "name": "AdminUser1" }, "olacEnabled": true, "managingCPM": "PasswordManager", "numberOfVersionsRetention": null, "numberOfDaysRetention": 7, "autoPurgeEnabled": false, "creationTime": "1604919933", "lastModificationTime": 1604919933475657 } ], "Total": 2 } |
Parameter |
Description |
---|---|
search |
Searches according to the Safe name. Search is performed according to the REST standard (searching with "contains"). Type: String Mandatory: No Default value: None |
offset |
Offset of the first Safe that is returned in the collection of results. Type: Number Mandatory: No Default value: 0 |
limit |
The maximum number of Safes that are returned. When used together with the offset parameter, this value determines the number of Safes to return, starting from the first Safe that is returned. Type: Number Mandatory: No Default value: 25 |
sort |
Sorts according to the safeName property in ascending order (default) or descending order to control the sort direction.
Type: String Mandatory: No Default value: None |
includeAccounts |
Whether or not to return accounts for each Safe as part of the response. If not sent, the value will be False. Type: Boolean Mandatory: No Default value: False |
Body parameters
None
Result
{ "Safes": [ { "safeUrlId": "AccountsFeedDiscoveryLogs", "safeName": "AccountsFeedDiscoveryLogs", "safeNumber": 20, "description": "", "location": "\\", "creator": { "id": "2", "name": "Administrator" }, "olacEnabled": false, "managingCPM": "PasswordManager", "numberOfVersionsRetention": null, "numberOfDaysRetention": 1, "autoPurgeEnabled": false, "creationTime": "1604393826", "lastModificationTime": 1604876425326615 }, { "safeUrlId": "PasswordManagerSafe", "safeName": "PasswordManagerSafe", "safeNumber": 21, "description": "This is PasswordManager safe.", "location": "\\", "creator": { "id": "14", "name": "AdminUser1" }, "olacEnabled": true, "managingCPM": "PasswordManager", "numberOfVersionsRetention": null, "numberOfDaysRetention": 7, "autoPurgeEnabled": false, "creationTime": "1604919933", "lastModificationTime": 1604919933475657 } ], "Total": 2 } |
Parameter |
Description |
---|---|
Value |
A list of all Safes returned. See Safe parameters. |
Safe parameters
Parameter |
Description |
---|---|
safeUrlId |
The unique ID of the Safe used when calling Safe APIs. Type: String |
safeName |
The unique name of the Safe. Type: String |
safeNumber |
The unique numerical ID of the Safe. Type: Number |
description |
The description of the Safe. Type: String |
location |
The location of the Safe in the Vault. Type: String |
creator |
Contains the following parameters: creator.id: The ID of the user that created this Safe creator.name: The name of the user that created this Safe Type: String |
accounts |
Contains the following parameters: account.id: The ID of the accounts that reside in this Safe account.name: The name of the accounts that reside in this Safe Type: String |
olacEnabled |
Whether or not to enable Object Level Access Control for the new Safe. Type: Boolean |
managingCPM |
The name of the CPM user who will manage the new Safe. Type: String |
numberOfVersionsRetention |
The number of retained versions of every password that is stored in the Safe. Type: Number |
numberOfDaysRetention |
The number of days that password versions are saved in the Safe. Type: Number |
AutoPurgeEnabled |
Whether or not to automatically purge files after the end of the Object History Retention Period defined in the Safe properties. Report Safes and PSM Recording Safes are created automatically with AutoPurgeEnabled set to Yes. These Safes cannot be managed by the CPM. Type: Boolean |
creationTime |
The Unix creation time of the Safe. Type: DateTime |
lastModificationTime |
The Unix time when the Safe was last updated. Type: DateTime |
URL
Make sure there are no spaces in the URL. The following characters are not supported in URL values: + & % |
|
Resource information
HTTP method |
GET |
Content type |
application/json |
Header parameter
Parameter |
Authorization |
Type |
String |
Description |
The token that identifies the session. |
Body parameters
None
Result
|
The time returned in LastUpdated is in UTC format. |
Return codes
For a complete list of return codes, see Return Codes.