Skip to content

Get Secrets

GET
/api/stacks/{stack_id}/secrets
curl --request GET \
--url 'https://kelpie.example.com/api/stacks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/secrets?reveal=false'
stack_id
required
Stack Id
string format: uuid
reveal
Reveal
boolean

Successful Response

Media typeapplication/json
SecretsOut
object
commit
required
Commit
string
keys
required
Keys
Array<string>
values
required
Values
Any of:
object
key
additional properties
string
external
External
Array<string>
default:

Example

{
"external": []
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}