Chef · Capability

Chef Automate API — IAM

Chef Automate API — IAM. 1 operations. Lead operation: List IAM users. Self-contained Naftiko capability covering one Chef business surface.

Run with Naftiko ChefIAM

What You Can Do

GET
Listiamusers — List IAM users
/v1/apis/iam/v2/users

MCP Tools

list-iam-users

List IAM users

read-only idempotent

Capability Spec

automate-iam.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Chef Automate API — IAM
  description: 'Chef Automate API — IAM. 1 operations. Lead operation: List IAM users. Self-contained Naftiko capability covering
    one Chef business surface.'
  tags:
  - Chef
  - IAM
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CHEF_API_KEY: CHEF_API_KEY
capability:
  consumes:
  - type: http
    namespace: automate-iam
    baseUri: https://{automate}/api/v0
    description: Chef Automate API — IAM business capability. Self-contained, no shared references.
    resources:
    - name: apis-iam-v2-users
      path: /apis/iam/v2/users
      operations:
      - name: listiamusers
        method: GET
        description: List IAM users
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: api-token
      value: '{{env.CHEF_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: automate-iam-rest
    port: 8080
    description: REST adapter for Chef Automate API — IAM. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/apis/iam/v2/users
      name: apis-iam-v2-users
      description: REST surface for apis-iam-v2-users.
      operations:
      - method: GET
        name: listiamusers
        description: List IAM users
        call: automate-iam.listiamusers
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: automate-iam-mcp
    port: 9090
    transport: http
    description: MCP adapter for Chef Automate API — IAM. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-iam-users
      description: List IAM users
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: automate-iam.listiamusers
      outputParameters:
      - type: object
        mapping: $.