Skip to main content
Clawise

Store credential

POST
/api/v1/vault/credentials

Stores a client-encrypted credential. Requires an initialized vault, non-empty encrypted_data, and a valid aad_uid (UUID v4).

Request body limited to 2 MB. Returns id and short_id on success; does not echo back encrypted_data.

Request Body

application/json

Response Body

application/json

application/json

application/json

curl -X POST "https://api.clawise.dev/api/v1/vault/credentials" \  -H "Content-Type: application/json" \  -d '{    "encrypted_data": {      "v": 0,      "alg": "",      "iv": "",      "data": ""    },    "aad_uid": ""  }'