Secrets

Update an org secret's value

PUT
/v1/orgs/{org}/secrets/{secretId}
AuthorizationBearer <token>

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

In: header

Path Parameters

org*string
secretId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

type*string
Default"generic"
Value in"generic" | "git"
value*string
Length1 <= length

Response Body

application/json

application/problem+json

curl -X PUT "https://api-dev.tektona.ai/v1/orgs/string/secrets/string" \  -H "Content-Type: application/json" \  -d '{    "type": "generic",    "value": "string"  }'
{  "$schema": "https://api-dev.tektona.ai/schemas/SecretCreateBody.json",  "secret": {    "created_at": "string",    "id": "string",    "key": "string",    "owner_user_id": "string",    "scope": "org",    "type": "generic",    "updated_at": "string"  }}