Secrets

List a project's secrets

GET
/v1/orgs/{org}/projects/{project}/secrets
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

Query Parameters

scope?string

Which secrets to list: all project secrets, only the shared project values, or only the ones scoped to you

Default"all"
Value in"all" | "project" | "personal"
cursor?string

Opaque pagination cursor from a previous response

limit?integer

Maximum number of items to return (1–100)

Default20
Formatint32
Range1 <= value <= 100

Response Body

application/json

application/problem+json

curl -X GET "https://api-dev.tektona.ai/v1/orgs/string/projects/string/secrets"
{  "$schema": "https://api-dev.tektona.ai/schemas/SecretListBody.json",  "items": [    {      "created_at": "string",      "id": "string",      "key": "string",      "owner_user_id": "string",      "scope": "org",      "type": "generic",      "updated_at": "string"    }  ],  "pagination": {    "has_more": true,    "next_cursor": "string",    "total_count": 0  }}