Skip to content
Inkbox

Inkbox

ContactDocs
GuidesAPI Reference
GuidesAPI Reference

Jump to

Access Control

Control which agent identities can access specific vault secrets. Access rules are per-secret — you grant an identity access to one secret at a time. An identity without an access rule for a given secret cannot read it.


Grant identity access POST

POST /vault/secrets/{secret_id}/access

Grant an agent identity access to a specific secret.

Path parameters

ParameterTypeDescription
secret_idUUIDSecret ID

Request body

FieldTypeRequiredDescription
identity_idUUIDYesID of the agent identity to grant access to

Request example

JSONJSON

Response (201)

JSONJSON

Error responses

StatusDescription
403Organization ID missing from token
404Secret or identity not found
409Identity already has access to this secret

Code examples


List access rules GET

GET /vault/secrets/{secret_id}/access

List all identity access rules for a secret.

Path parameters

ParameterTypeDescription
secret_idUUIDSecret ID

Response (200)

JSONJSON

Code examples


Revoke identity access DELETE

DELETE /vault/secrets/{secret_id}/access/{identity_id}

Revoke an identity's access to a secret. Returns 204 No Content on success.

Path parameters

ParameterTypeDescription
secret_idUUIDSecret ID
identity_idUUIDIdentity ID to revoke access from

Code examples


Access rule object

FieldTypeDescription
idUUIDUnique access rule identifier
vault_secret_idUUIDThe secret this rule grants access to
identity_idUUIDThe agent identity that has access
created_atstringCreation timestamp (ISO 8601)

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website