Organizations and ProjectsSealing Keys

Retire a project sealing key

Retires a decrypt_only key and returns it. A value sealed to a retired key no longer opens. The active key cannot be retired. Needs project admin.

PUT
/v1/orgs/{org}/projects/{project}/sealing-keys/{keyId}/retire
AuthorizationBearer <token>

API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.

In: header

Path Parameters

org*string
project*string
keyId*string

Response Body

application/json

application/problem+json

curl -X PUT "https://example.com/v1/orgs/string/projects/string/sealing-keys/string/retire"
{  "created_at": "2019-08-24T14:15:22Z",  "decrypt_only_at": "2019-08-24T14:15:22Z",  "id": "string",  "public_key": "string",  "retired_at": "2019-08-24T14:15:22Z",  "status": "active"}