Secrets (env. scope)
Get single
Get single secret.
Get single secret.
Path Parameters
name*string
Query Parameters
expand_refs?boolean
Expand secret references with their referred values.
omit?string
Fields of the secrets to omit from the response. Comma separated list of 'value' or 'comment'.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/environment/secrets/string"{
"name": "DB_URL",
"value": "postgres://postgres:postgres@${DB_HOST}:${DB_PORT}/postgres",
"comment": "The connection string to the database."
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}