InfluxDB · Capability

Complete InfluxDB Cloud API — Secrets

Complete InfluxDB Cloud API — Secrets. 4 operations. Lead operation: List all secret keys for an organization. Self-contained Naftiko capability covering one Influxdb business surface.

Run with Naftiko InfluxdbSecrets

What You Can Do

GET
Getorgsidsecrets — List all secret keys for an organization
/v1/api/v2/orgs/{orgid}/secrets
PATCH
Patchorgsidsecrets — Update secrets in an organization
/v1/api/v2/orgs/{orgid}/secrets
POST
Postorgsidsecrets — Delete secrets from an organization
/v1/api/v2/orgs/{orgid}/secrets/delete
DELETE
Deleteorgsidsecretsid — Delete a secret from an organization
/v1/api/v2/orgs/{orgid}/secrets/{secretid}

MCP Tools

list-all-secret-keys-organization

List all secret keys for an organization

read-only idempotent
update-secrets-organization

Update secrets in an organization

idempotent
delete-secrets-organization

Delete secrets from an organization

delete-secret-organization

Delete a secret from an organization

idempotent

Capability Spec

influxdb-secrets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Complete InfluxDB Cloud API — Secrets
  description: 'Complete InfluxDB Cloud API — Secrets. 4 operations. Lead operation: List all secret keys for an organization.
    Self-contained Naftiko capability covering one Influxdb business surface.'
  tags:
  - Influxdb
  - Secrets
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    INFLUXDB_API_KEY: INFLUXDB_API_KEY
capability:
  consumes:
  - type: http
    namespace: influxdb-secrets
    baseUri: ''
    description: Complete InfluxDB Cloud API — Secrets business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-orgs-orgID-secrets
      path: /api/v2/orgs/{orgID}/secrets
      operations:
      - name: getorgsidsecrets
        method: GET
        description: List all secret keys for an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgID
          in: path
          type: string
          description: The organization ID.
          required: true
      - name: patchorgsidsecrets
        method: PATCH
        description: Update secrets in an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgID
          in: path
          type: string
          description: The organization ID.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-orgs-orgID-secrets-delete
      path: /api/v2/orgs/{orgID}/secrets/delete
      operations:
      - name: postorgsidsecrets
        method: POST
        description: Delete secrets from an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgID
          in: path
          type: string
          description: The organization ID.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-orgs-orgID-secrets-secretID
      path: /api/v2/orgs/{orgID}/secrets/{secretID}
      operations:
      - name: deleteorgsidsecretsid
        method: DELETE
        description: Delete a secret from an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgID
          in: path
          type: string
          description: The organization ID.
          required: true
        - name: secretID
          in: path
          type: string
          description: The secret ID.
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.INFLUXDB_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: influxdb-secrets-rest
    port: 8080
    description: REST adapter for Complete InfluxDB Cloud API — Secrets. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v2/orgs/{orgid}/secrets
      name: api-v2-orgs-orgid-secrets
      description: REST surface for api-v2-orgs-orgID-secrets.
      operations:
      - method: GET
        name: getorgsidsecrets
        description: List all secret keys for an organization
        call: influxdb-secrets.getorgsidsecrets
        with:
          orgID: rest.orgID
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchorgsidsecrets
        description: Update secrets in an organization
        call: influxdb-secrets.patchorgsidsecrets
        with:
          orgID: rest.orgID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/orgs/{orgid}/secrets/delete
      name: api-v2-orgs-orgid-secrets-delete
      description: REST surface for api-v2-orgs-orgID-secrets-delete.
      operations:
      - method: POST
        name: postorgsidsecrets
        description: Delete secrets from an organization
        call: influxdb-secrets.postorgsidsecrets
        with:
          orgID: rest.orgID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/orgs/{orgid}/secrets/{secretid}
      name: api-v2-orgs-orgid-secrets-secretid
      description: REST surface for api-v2-orgs-orgID-secrets-secretID.
      operations:
      - method: DELETE
        name: deleteorgsidsecretsid
        description: Delete a secret from an organization
        call: influxdb-secrets.deleteorgsidsecretsid
        with:
          orgID: rest.orgID
          secretID: rest.secretID
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: influxdb-secrets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Complete InfluxDB Cloud API — Secrets. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-all-secret-keys-organization
      description: List all secret keys for an organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: influxdb-secrets.getorgsidsecrets
      with:
        orgID: tools.orgID
      outputParameters:
      - type: object
        mapping: $.
    - name: update-secrets-organization
      description: Update secrets in an organization
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: influxdb-secrets.patchorgsidsecrets
      with:
        orgID: tools.orgID
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-secrets-organization
      description: Delete secrets from an organization
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: influxdb-secrets.postorgsidsecrets
      with:
        orgID: tools.orgID
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-secret-organization
      description: Delete a secret from an organization
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: influxdb-secrets.deleteorgsidsecretsid
      with:
        orgID: tools.orgID
        secretID: tools.secretID
      outputParameters:
      - type: object
        mapping: $.