Read Secret
GET/vault/v1/secrets/:secret_id
Read Secret
Request
Path Parameters
secret_id Secret Idrequired
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- StandardProviderDTO
- CustomProviderDTO
- MOD1
- MOD1
- MOD1
Array [
]
- MOD1
- MOD1
Array [
]
- MOD1
- MOD1
- MOD1
- LifecycleDTO
- MOD1
- MOD1
- MOD1
kind SecretKind (string)required
Possible values: [provider_key
, custom_provider
]
dataobjectrequired
anyOf
kind StandardProviderKind (string)required
Possible values: [openai
, cohere
, anyscale
, deepinfra
, alephalpha
, groq
, mistralai
, anthropic
, perplexityai
, togetherai
, openrouter
, gemini
]
providerobjectrequired
key Key (string)required
kind CustomProviderKind (string)required
Possible values: [custom
, azure
, bedrock
, sagemaker
, vertex
, openai
, cohere
, anyscale
, deepinfra
, alephalpha
, groq
, mistralai
, anthropic
, perplexityai
, togetherai
, openrouter
, gemini
]
providerobjectrequired
urlobject
anyOf
string
versionobject
anyOf
string
keyobject
anyOf
string
extrasobject
anyOf
modelsobject[]required
slug Slug (string)required
extrasobject
anyOf
provider_slugobject
anyOf
string
model_keysobject
anyOf
string
idobject
anyOf
string
headerobjectrequired
nameobject
anyOf
string
descriptionobject
anyOf
string
lifecycleobject
anyOf
created_atobject
anyOf
string
updated_atobject
anyOf
string
updated_by_idobject
anyOf
string
{
"kind": "provider_key",
"data": {},
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"header": {
"name": "string",
"description": "string"
},
"lifecycle": {}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detailobject[]
locobject[]required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...