In Cerby, vaults are secure spaces for storing and managing your account data and sensitive information, such as secrets. They provide an additional layer of protection by implementing encryption and access controls to ensure that only authorized users can access the stored data.
A vault object is created in Cerby when you perform the following actions:
Create and configure a Cerby workspace. This action creates a default cloud vault for the workspace.
Create additional local vaults in your Cerby workspace.
With the Cerby API, you can list all the vaults in your workspace. To learn more about vaults, refer to the Managing your vaults article collection on the Cerby Help Center.
Important:
You can only retrieve vaults if you have the workspace Admin, Super Admin, or Owner role. Your permissions are determined by your API key based on Cerby’s RBAC system.
You can retrieve cloud vaults using the Cerby API, but not local vaults.
Retrieve the list of all vaults
get
With a GET request to the /vaults endpoint, you can retrieve the list of all the vaults in your workspace.
Important:
The API scope required to use this endpoint is Read vaults.
Query parameters
page[number]integer · min: 1Optional
The page number to retrieve in a paginated list.
Default: 1
page[size]integer · min: 1 · max: 100Optional
The number of items to display per page.
Default: 25
Responses
200
OK — The paginated list of vaults.
application/json
401
Unauthorized - User is not authorized to perform the request.
application/json
404
Not found - Resource not found.
application/json
get
/vaults
Last updated
GET /api/v1/vaults HTTP/1.1
Host: my-workspace.cerby.com
Accept: */*