Qovery · Capability

Qovery API — Environment Secret

Qovery API — Environment Secret. 6 operations. Lead operation: List environment secrets. Self-contained Naftiko capability covering one Qovery business surface.

Run with Naftiko QoveryEnvironment Secret

What You Can Do

GET
Listenvironmentsecrets — List environment secrets
/v1/environment/{environmentid}/secret
POST
Createenvironmentsecret — Add a secret to the environment
/v1/environment/{environmentid}/secret
DELETE
Deleteenvironmentsecret — Delete a secret from the environment
/v1/environment/{environmentid}/secret/{secretid}
PUT
Editenvironmentsecret — Edit a secret belonging to the environment
/v1/environment/{environmentid}/secret/{secretid}
POST
Createenvironmentsecretalias — Create a secret alias at the environment level
/v1/environment/{environmentid}/secret/{secretid}/alias
POST
Createenvironmentsecretoverride — Create a secret override at the environment level
/v1/environment/{environmentid}/secret/{secretid}/override

MCP Tools

list-environment-secrets

List environment secrets

read-only idempotent
add-secret-environment

Add a secret to the environment

delete-secret-environment

Delete a secret from the environment

idempotent
edit-secret-belonging-environment

Edit a secret belonging to the environment

idempotent
create-secret-alias-environment-level

Create a secret alias at the environment level

create-secret-override-environment-level

Create a secret override at the environment level

Capability Spec

qovery-environment-secret.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Qovery API — Environment Secret
  description: 'Qovery API — Environment Secret. 6 operations. Lead operation: List environment secrets. Self-contained Naftiko
    capability covering one Qovery business surface.'
  tags:
  - Qovery
  - Environment Secret
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    QOVERY_API_KEY: QOVERY_API_KEY
capability:
  consumes:
  - type: http
    namespace: qovery-environment-secret
    baseUri: https://api.qovery.com
    description: Qovery API — Environment Secret business capability. Self-contained, no shared references.
    resources:
    - name: environment-environmentId-secret
      path: /environment/{environmentId}/secret
      operations:
      - name: listenvironmentsecrets
        method: GET
        description: List environment secrets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createenvironmentsecret
        method: POST
        description: Add a secret to the environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: environment-environmentId-secret-secretId
      path: /environment/{environmentId}/secret/{secretId}
      operations:
      - name: deleteenvironmentsecret
        method: DELETE
        description: Delete a secret from the environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: editenvironmentsecret
        method: PUT
        description: Edit a secret belonging to the environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: environment-environmentId-secret-secretId-alias
      path: /environment/{environmentId}/secret/{secretId}/alias
      operations:
      - name: createenvironmentsecretalias
        method: POST
        description: Create a secret alias at the environment level
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: environment-environmentId-secret-secretId-override
      path: /environment/{environmentId}/secret/{secretId}/override
      operations:
      - name: createenvironmentsecretoverride
        method: POST
        description: Create a secret override at the environment level
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.QOVERY_API_KEY}}'
  exposes:
  - type: rest
    namespace: qovery-environment-secret-rest
    port: 8080
    description: REST adapter for Qovery API — Environment Secret. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/environment/{environmentid}/secret
      name: environment-environmentid-secret
      description: REST surface for environment-environmentId-secret.
      operations:
      - method: GET
        name: listenvironmentsecrets
        description: List environment secrets
        call: qovery-environment-secret.listenvironmentsecrets
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createenvironmentsecret
        description: Add a secret to the environment
        call: qovery-environment-secret.createenvironmentsecret
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environment/{environmentid}/secret/{secretid}
      name: environment-environmentid-secret-secretid
      description: REST surface for environment-environmentId-secret-secretId.
      operations:
      - method: DELETE
        name: deleteenvironmentsecret
        description: Delete a secret from the environment
        call: qovery-environment-secret.deleteenvironmentsecret
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: editenvironmentsecret
        description: Edit a secret belonging to the environment
        call: qovery-environment-secret.editenvironmentsecret
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environment/{environmentid}/secret/{secretid}/alias
      name: environment-environmentid-secret-secretid-alias
      description: REST surface for environment-environmentId-secret-secretId-alias.
      operations:
      - method: POST
        name: createenvironmentsecretalias
        description: Create a secret alias at the environment level
        call: qovery-environment-secret.createenvironmentsecretalias
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environment/{environmentid}/secret/{secretid}/override
      name: environment-environmentid-secret-secretid-override
      description: REST surface for environment-environmentId-secret-secretId-override.
      operations:
      - method: POST
        name: createenvironmentsecretoverride
        description: Create a secret override at the environment level
        call: qovery-environment-secret.createenvironmentsecretoverride
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: qovery-environment-secret-mcp
    port: 9090
    transport: http
    description: MCP adapter for Qovery API — Environment Secret. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-environment-secrets
      description: List environment secrets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-environment-secret.listenvironmentsecrets
      outputParameters:
      - type: object
        mapping: $.
    - name: add-secret-environment
      description: Add a secret to the environment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: qovery-environment-secret.createenvironmentsecret
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-secret-environment
      description: Delete a secret from the environment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: qovery-environment-secret.deleteenvironmentsecret
      outputParameters:
      - type: object
        mapping: $.
    - name: edit-secret-belonging-environment
      description: Edit a secret belonging to the environment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: qovery-environment-secret.editenvironmentsecret
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: create-secret-alias-environment-level
      description: Create a secret alias at the environment level
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: qovery-environment-secret.createenvironmentsecretalias
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: create-secret-override-environment-level
      description: Create a secret override at the environment level
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: qovery-environment-secret.createenvironmentsecretoverride
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.