API
GET/api/vault/secrets
AuthorizationBearer <token>

An Admin Key (tigby_admin_…) for Org-level calls, an Identity Key (tigby_id_…) for one Identity's own resources, or a console session (tigby_sess_…). Sent as Authorization: Bearer <key>.

In: header

Query Parameters

identity?string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.tigby.eu/api/vault/secrets"
{  "secrets": [    {      "name": "string",      "type": "string",      "identity": null,      "description": null,      "bytes": 0,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "version": 0    }  ]}
GET/api/vault/secrets/{name}
AuthorizationBearer <token>

An Admin Key (tigby_admin_…) for Org-level calls, an Identity Key (tigby_id_…) for one Identity's own resources, or a console session (tigby_sess_…). Sent as Authorization: Bearer <key>.

In: header

Path Parameters

name*string

Query Parameters

identity?string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.tigby.eu/api/vault/secrets/string"
{  "name": "string",  "type": "string",  "identity": null,  "description": null,  "bytes": 0,  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "version": 0}
DELETE/api/vault/secrets/{name}
AuthorizationBearer <token>

An Admin Key (tigby_admin_…) for Org-level calls, an Identity Key (tigby_id_…) for one Identity's own resources, or a console session (tigby_sess_…). Sent as Authorization: Bearer <key>.

In: header

Path Parameters

name*string

Query Parameters

identity?string

Header Parameters

If-Match?string

Delete only this version: the ETag a read answered with, or the version a list or a write answered with in double quotes, e.g. "3"; or a list of them; * for whichever version is there. A secret written since is refused with vault_precondition_failed (412) and nothing is deleted. A name that holds nothing is the 404 it is without the header.

Length1 <= length

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://api.tigby.eu/api/vault/secrets/string"
Empty
PUT/api/vault/secrets/{name}
AuthorizationBearer <token>

An Admin Key (tigby_admin_…) for Org-level calls, an Identity Key (tigby_id_…) for one Identity's own resources, or a console session (tigby_sess_…). Sent as Authorization: Bearer <key>.

In: header

Path Parameters

name*string

Query Parameters

identity?string

Header Parameters

If-Match?string

Replace only this version: the ETag a read answered with, or the version a list or a write answered with in double quotes, e.g. "3"; or a list of them; * for whichever version is there. A secret written since, or no secret of that name, is refused with vault_precondition_failed (412) and nothing is written; read it again and decide anew. Leave it out to write unconditionally.

Length1 <= length
If-None-Match?string

Send * to create only: a name that already holds a secret is refused with vault_precondition_failed (412) instead of overwritten. No other value is taken.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://api.tigby.eu/api/vault/secrets/string" \  -H "Content-Type: application/json" \  -d '{    "value": null,    "description": null  }'
{  "name": "string",  "type": "string",  "identity": null,  "description": null,  "bytes": 0,  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "version": 0}
GET/api/vault/secrets/{name}/value
AuthorizationBearer <token>

An Admin Key (tigby_admin_…) for Org-level calls, an Identity Key (tigby_id_…) for one Identity's own resources, or a console session (tigby_sess_…). Sent as Authorization: Bearer <key>.

In: header

Path Parameters

name*string

Query Parameters

identity?string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.tigby.eu/api/vault/secrets/string/value"
{  "name": "string",  "identity": null,  "value": "string",  "version": 0}