List a bundle's key names
GET/secrets/{name}
One bundle's key NAMES — never the values.
path parameters
object
namestringrequiredSecret bundle name (a DNS label).
Responses
200 OKOK
SecretKeysResponse
keysarray | null
items
string
namestring404 Not foundNot Found
ErrorResponse
codestringerrorstring501 Not Implemented
ErrorResponse
codestringerrorstringAuthentication
bearerAuthHTTP bearer. Daemon API key. Omit on a keyless loopback daemon.Request
▍GET/secrets/{name}
curl '/secrets/{name}'const response = await fetch("/secrets/{name}", {
method: "GET",
});
const data = await response.json();import requests
response = requests.get(
"/secrets/{name}",
)
data = response.json()Response
200 OK
{
"keys": [
"string"
],
"name": "string"
}