Skip to content

List vault key names

GET
/vault
curl --request GET \
--url http://127.0.0.1:7700/api/vault \
--header 'Authorization: Bearer <token>'

Owner only. The name of every key in the vault, and when it was set through the API (null for a key put in the file by hand). Never a value.

The key names.

Media typeapplication/json
Array<object>
object
name
required
string
setAt
required
string | null format: date-time

Example

[
{
"name": "FACTORY_API_KEY",
"setAt": "2026-10-24T09:02:11.000Z"
},
{
"name": "STRIPE_SECRET_KEY",
"setAt": null
}
]

The owner’s route, called by someone who is not the box’s own screen or a device paired as the owner.

Media typeapplication/json
object
error
required

What went wrong

string

Example

{
"error": "only the box's own screen or the owner's paired device can do this"
}

GurtOS is open source under the Apache License 2.0.Source code on GitHub.