Koyeb · Capability
Koyeb Rest API — Secrets
Koyeb Rest API — Secrets. 7 operations. Lead operation: List Secrets. Self-contained Naftiko capability covering one Koyeb business surface.
What You Can Do
GET
Listsecrets
— List Secrets
/v1/v1/secrets
POST
Createsecret
— Create Secret
/v1/v1/secrets
GET
Getsecret
— Get Secret
/v1/v1/secrets/{id}
DELETE
Deletesecret
— Delete Secret
/v1/v1/secrets/{id}
PUT
Updatesecret
— Update Secret
/v1/v1/secrets/{id}
PATCH
Updatesecret2
— Update Secret
/v1/v1/secrets/{id}
POST
Revealsecret
— Reveal Secret
/v1/v1/secrets/{id}/reveal
MCP Tools
list-secrets
List Secrets
read-only
idempotent
create-secret
Create Secret
get-secret
Get Secret
read-only
idempotent
delete-secret
Delete Secret
idempotent
update-secret
Update Secret
idempotent
update-secret-2
Update Secret
idempotent
reveal-secret
Reveal Secret
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Koyeb Rest API — Secrets
description: 'Koyeb Rest API — Secrets. 7 operations. Lead operation: List Secrets. Self-contained Naftiko capability covering
one Koyeb business surface.'
tags:
- Koyeb
- Secrets
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
KOYEB_API_KEY: KOYEB_API_KEY
capability:
consumes:
- type: http
namespace: koyeb-secrets
baseUri: https://app.koyeb.com
description: Koyeb Rest API — Secrets business capability. Self-contained, no shared references.
resources:
- name: v1-secrets
path: /v1/secrets
operations:
- name: listsecrets
method: GET
description: List Secrets
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: name
in: query
type: string
- name: limit
in: query
type: string
- name: offset
in: query
type: string
- name: types
in: query
type: array
description: Filter by secret types
- name: project_id
in: query
type: string
description: (Optional) A filter for the project ID
- name: createsecret
method: POST
description: Create Secret
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: secret
in: body
type: string
required: true
- name: v1-secrets-id
path: /v1/secrets/{id}
operations:
- name: getsecret
method: GET
description: Get Secret
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
required: true
- name: deletesecret
method: DELETE
description: Delete Secret
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
required: true
- name: updatesecret
method: PUT
description: Update Secret
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
required: true
- name: secret
in: body
type: string
required: true
- name: update_mask
in: query
type: string
- name: updatesecret2
method: PATCH
description: Update Secret
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
required: true
- name: secret
in: body
type: string
required: true
- name: update_mask
in: query
type: string
- name: v1-secrets-id-reveal
path: /v1/secrets/{id}/reveal
operations:
- name: revealsecret
method: POST
description: Reveal Secret
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
required: true
- name: body
in: body
type: object
required: true
exposes:
- type: rest
namespace: koyeb-secrets-rest
port: 8080
description: REST adapter for Koyeb Rest API — Secrets. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/v1/secrets
name: v1-secrets
description: REST surface for v1-secrets.
operations:
- method: GET
name: listsecrets
description: List Secrets
call: koyeb-secrets.listsecrets
with:
name: rest.name
limit: rest.limit
offset: rest.offset
types: rest.types
project_id: rest.project_id
outputParameters:
- type: object
mapping: $.
- method: POST
name: createsecret
description: Create Secret
call: koyeb-secrets.createsecret
with:
secret: rest.secret
outputParameters:
- type: object
mapping: $.
- path: /v1/v1/secrets/{id}
name: v1-secrets-id
description: REST surface for v1-secrets-id.
operations:
- method: GET
name: getsecret
description: Get Secret
call: koyeb-secrets.getsecret
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: deletesecret
description: Delete Secret
call: koyeb-secrets.deletesecret
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: PUT
name: updatesecret
description: Update Secret
call: koyeb-secrets.updatesecret
with:
id: rest.id
secret: rest.secret
update_mask: rest.update_mask
outputParameters:
- type: object
mapping: $.
- method: PATCH
name: updatesecret2
description: Update Secret
call: koyeb-secrets.updatesecret2
with:
id: rest.id
secret: rest.secret
update_mask: rest.update_mask
outputParameters:
- type: object
mapping: $.
- path: /v1/v1/secrets/{id}/reveal
name: v1-secrets-id-reveal
description: REST surface for v1-secrets-id-reveal.
operations:
- method: POST
name: revealsecret
description: Reveal Secret
call: koyeb-secrets.revealsecret
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: koyeb-secrets-mcp
port: 9090
transport: http
description: MCP adapter for Koyeb Rest API — Secrets. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: list-secrets
description: List Secrets
hints:
readOnly: true
destructive: false
idempotent: true
call: koyeb-secrets.listsecrets
with:
name: tools.name
limit: tools.limit
offset: tools.offset
types: tools.types
project_id: tools.project_id
outputParameters:
- type: object
mapping: $.
- name: create-secret
description: Create Secret
hints:
readOnly: false
destructive: false
idempotent: false
call: koyeb-secrets.createsecret
with:
secret: tools.secret
outputParameters:
- type: object
mapping: $.
- name: get-secret
description: Get Secret
hints:
readOnly: true
destructive: false
idempotent: true
call: koyeb-secrets.getsecret
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: delete-secret
description: Delete Secret
hints:
readOnly: false
destructive: true
idempotent: true
call: koyeb-secrets.deletesecret
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: update-secret
description: Update Secret
hints:
readOnly: false
destructive: false
idempotent: true
call: koyeb-secrets.updatesecret
with:
id: tools.id
secret: tools.secret
update_mask: tools.update_mask
outputParameters:
- type: object
mapping: $.
- name: update-secret-2
description: Update Secret
hints:
readOnly: false
destructive: false
idempotent: true
call: koyeb-secrets.updatesecret2
with:
id: tools.id
secret: tools.secret
update_mask: tools.update_mask
outputParameters:
- type: object
mapping: $.
- name: reveal-secret
description: Reveal Secret
hints:
readOnly: false
destructive: false
idempotent: false
call: koyeb-secrets.revealsecret
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.