Read a Vault entry API Reference
GET
/tenants/{tenant}/vault/{path}
const url = 'https://api.kupe.cloud/api/v1/tenants/example/vault/example';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” tenant
required
string
Tenant name
path
required
string
Path in the tenant’s vault
Query Parameters
Section titled “ Query Parameters ” values
boolean
Include values (admin only)
Responses
Section titled “ Responses ”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}Headers
Section titled “ Headers ” 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"}