HashiCorp Cloud Platform · Capability

HCP Vault Secrets API — Sync

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

Run with Naftiko HcpSync

What You Can Do

GET
Listsyncs — List syncs
/v1/secrets/2023-11-28/organizations/{org-id}/projects/{project-id}/syncs

MCP Tools

list-syncs

List syncs

read-only idempotent

Capability Spec

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