Skip to content

Read a Vault entry API Reference

GET
/tenants/{tenant}/vault/{path}
curl --request GET \
--url https://api.kupe.cloud/api/v1/tenants/example/vault/example \
--header 'Authorization: <Authorization>'

Read an entry’s version and the secrets that use it. Admins can add values=true to include its values.

tenant
required
string

Tenant name

path
required
string

Path in the tenant’s vault

values
boolean

Include values (admin only)

OK

Media type application/json
object
createdAt
string
deleted
boolean
path
string
references
Array<string>
updatedAt
string
values
object
key
additional properties
string
version
integer
Example generated
{
"createdAt": "example",
"deleted": true,
"path": "example",
"references": [
"example"
],
"updatedAt": "example",
"values": {
"additionalProperty": "example"
},
"version": 1
}
ETag
string

KV version

Bad Request

Media type application/json
object
code
string
error
string
field
string
message
string
severity
string
Example generated
{
"code": "example",
"error": "example",
"field": "example",
"message": "example",
"severity": "example"
}

Unauthorized

Media type application/json
object
code
string
error
string
field
string
message
string
severity
string
Example generated
{
"code": "example",
"error": "example",
"field": "example",
"message": "example",
"severity": "example"
}

Forbidden

Media type application/json
object
code
string
error
string
field
string
message
string
severity
string
Example generated
{
"code": "example",
"error": "example",
"field": "example",
"message": "example",
"severity": "example"
}

Not Found

Media type application/json
object
code
string
error
string
field
string
message
string
severity
string
Example generated
{
"code": "example",
"error": "example",
"field": "example",
"message": "example",
"severity": "example"
}

Too Many Requests

Media type application/json
object
code
string
error
string
field
string
message
string
severity
string
Example generated
{
"code": "example",
"error": "example",
"field": "example",
"message": "example",
"severity": "example"
}

Service Unavailable

Media type application/json
object
code
string
error
string
field
string
message
string
severity
string
Example generated
{
"code": "example",
"error": "example",
"field": "example",
"message": "example",
"severity": "example"
}