Skip to content

Vault API

DRAFT — Internal Developer Use Only

This API reference is for internal development teams.

Overview

What it is: The vault API manages credential safe integrations. Discovery connects to external vaults (CyberArk, BeyondTrust, etc.) to securely store and retrieve privileged credentials.

Endpoints

MethodPathDescriptionAuth required
GET/internal/v1/vault/credential/handlersList credential safe handlersJWT + API token
GET/internal/v1/vault/credential/safe/:safeid/capabilitiesList safe capabilitiesJWT + API token
POST/internal/v1/vault/credential/safe/:safeid/capabilitiesValidate a safe capabilityJWT + API token
POST/internal/v1/vault/credential/safe/:safeid/accountsAdd an account to a vault safeJWT + API token

GET /internal/v1/vault/credential/handlers

List all registered credential safe handlers. Handlers represent the available vault integrations.

Request:

http
GET /internal/v1/vault/credential/handlers
Authorization: Bearer <token>

Response (200):

json
{
  "handlers": [
    {
      "id": "cyberark",
      "name": "CyberArk Privileged Access",
      "type": "pam",
      "capabilities": ["store", "retrieve", "rotate"]
    },
    {
      "id": "beyondtrust",
      "name": "BeyondTrust Password Safe",
      "type": "pam",
      "capabilities": ["store", "retrieve"]
    }
  ]
}

POST /internal/v1/vault/credential/safe/:safeid/accounts

Add a discovered account to a vault safe for credential onboarding.

Path parameters:

ParameterTypeDescription
safeidstringVault safe identifier

Request:

http
POST /internal/v1/vault/credential/safe/safe-001/accounts
Authorization: Bearer <token>
Content-Type: application/json

{
  "accountId": "acc-uuid-001",
  "accountName": "svc-database-admin",
  "platform": "SQL Server",
  "address": "db-prod-01.example.com"
}

Response (201):

json
{
  "status": "onboarded",
  "vaultAccountId": "vault-acc-uuid"
}

Hydden Documentation and Training Hub