HashiCorp Cloud Platform · Capability

HCP Vault Secrets API — Gateway

HCP Vault Secrets API — Gateway. 1 operations. Lead operation: List gateway pools. Self-contained Naftiko capability covering one Hcp business surface.

Run with Naftiko HcpGateway

What You Can Do

GET
Listgatewaypools — List gateway pools
/v1/secrets/2023-11-28/organizations/{org-id}/projects/{project-id}/gateway-pools

MCP Tools

list-gateway-pools

List gateway pools

read-only idempotent

Capability Spec

hcp-gateway.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: HCP Vault Secrets API — Gateway
  description: 'HCP Vault Secrets API — Gateway. 1 operations. Lead operation: List gateway pools. Self-contained Naftiko
    capability covering one Hcp business surface.'
  tags:
  - Hcp
  - Gateway
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HCP_API_KEY: HCP_API_KEY
capability:
  consumes:
  - type: http
    namespace: hcp-gateway
    baseUri: https://api.cloud.hashicorp.com
    description: HCP Vault Secrets API — Gateway business capability. Self-contained, no shared references.
    resources:
    - name: secrets-2023-11-28-organizations-org_id-projects-project_id-gateway-pools
      path: /secrets/2023-11-28/organizations/{org_id}/projects/{project_id}/gateway-pools
      operations:
      - name: listgatewaypools
        method: GET
        description: List gateway pools
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: org_id
          in: path
          type: string
          required: true
        - name: project_id
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.HCP_API_KEY}}'
  exposes:
  - type: rest
    namespace: hcp-gateway-rest
    port: 8080
    description: REST adapter for HCP Vault Secrets API — Gateway. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/secrets/2023-11-28/organizations/{org-id}/projects/{project-id}/gateway-pools
      name: secrets-2023-11-28-organizations-org-id-projects-project-id-gateway-pools
      description: REST surface for secrets-2023-11-28-organizations-org_id-projects-project_id-gateway-pools.
      operations:
      - method: GET
        name: listgatewaypools
        description: List gateway pools
        call: hcp-gateway.listgatewaypools
        with:
          org_id: rest.org_id
          project_id: rest.project_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: hcp-gateway-mcp
    port: 9090
    transport: http
    description: MCP adapter for HCP Vault Secrets API — Gateway. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-gateway-pools
      description: List gateway pools
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hcp-gateway.listgatewaypools
      with:
        org_id: tools.org_id
        project_id: tools.project_id
      outputParameters:
      - type: object
        mapping: $.