HashiCorp Vault · Capability

HashiCorp Vault Vault Identity API — Lookup

HashiCorp Vault Vault Identity API — Lookup. 2 operations. Lead operation: HashiCorp Vault Lookup entity. Self-contained Naftiko capability covering one Hvault business surface.

Run with Naftiko HvaultLookup

What You Can Do

POST
Lookupentity — HashiCorp Vault Lookup entity
/v1/identity/lookup/entity
POST
Lookupgroup — HashiCorp Vault Lookup group
/v1/identity/lookup/group

MCP Tools

hashicorp-vault-lookup-entity

HashiCorp Vault Lookup entity

read-only
hashicorp-vault-lookup-group

HashiCorp Vault Lookup group

read-only

Capability Spec

identity-lookup.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: HashiCorp Vault Vault Identity API — Lookup
  description: 'HashiCorp Vault Vault Identity API — Lookup. 2 operations. Lead operation: HashiCorp Vault Lookup entity.
    Self-contained Naftiko capability covering one Hvault business surface.'
  tags:
  - Hvault
  - Lookup
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HVAULT_API_KEY: HVAULT_API_KEY
capability:
  consumes:
  - type: http
    namespace: identity-lookup
    baseUri: https://vault.example.com/v1
    description: HashiCorp Vault Vault Identity API — Lookup business capability. Self-contained, no shared references.
    resources:
    - name: identity-lookup-entity
      path: /identity/lookup/entity
      operations:
      - name: lookupentity
        method: POST
        description: HashiCorp Vault Lookup entity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: identity-lookup-group
      path: /identity/lookup/group
      operations:
      - name: lookupgroup
        method: POST
        description: HashiCorp Vault Lookup group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-Vault-Token
      value: '{{env.HVAULT_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: identity-lookup-rest
    port: 8080
    description: REST adapter for HashiCorp Vault Vault Identity API — Lookup. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/identity/lookup/entity
      name: identity-lookup-entity
      description: REST surface for identity-lookup-entity.
      operations:
      - method: POST
        name: lookupentity
        description: HashiCorp Vault Lookup entity
        call: identity-lookup.lookupentity
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/identity/lookup/group
      name: identity-lookup-group
      description: REST surface for identity-lookup-group.
      operations:
      - method: POST
        name: lookupgroup
        description: HashiCorp Vault Lookup group
        call: identity-lookup.lookupgroup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: identity-lookup-mcp
    port: 9090
    transport: http
    description: MCP adapter for HashiCorp Vault Vault Identity API — Lookup. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: hashicorp-vault-lookup-entity
      description: HashiCorp Vault Lookup entity
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: identity-lookup.lookupentity
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: hashicorp-vault-lookup-group
      description: HashiCorp Vault Lookup group
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: identity-lookup.lookupgroup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.