IBM · Capability

IBM Cloud IAM API — Tokens

IBM Cloud IAM API — Tokens. 1 operations. Lead operation: Create an IAM access token. Self-contained Naftiko capability covering one Ibm business surface.

Run with Naftiko IbmTokens

What You Can Do

POST
Createaccesstoken — Create an IAM access token
/v1/identity/token

MCP Tools

create-iam-access-token

Create an IAM access token

Capability Spec

cloud-iam-tokens.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: IBM Cloud IAM API — Tokens
  description: 'IBM Cloud IAM API — Tokens. 1 operations. Lead operation: Create an IAM access token. Self-contained Naftiko
    capability covering one Ibm business surface.'
  tags:
  - Ibm
  - Tokens
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    IBM_API_KEY: IBM_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-iam-tokens
    baseUri: https://iam.cloud.ibm.com
    description: IBM Cloud IAM API — Tokens business capability. Self-contained, no shared references.
    resources:
    - name: identity-token
      path: /identity/token
      operations:
      - name: createaccesstoken
        method: POST
        description: Create an IAM access token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.IBM_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloud-iam-tokens-rest
    port: 8080
    description: REST adapter for IBM Cloud IAM API — Tokens. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/identity/token
      name: identity-token
      description: REST surface for identity-token.
      operations:
      - method: POST
        name: createaccesstoken
        description: Create an IAM access token
        call: cloud-iam-tokens.createaccesstoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-iam-tokens-mcp
    port: 9090
    transport: http
    description: MCP adapter for IBM Cloud IAM API — Tokens. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: create-iam-access-token
      description: Create an IAM access token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-iam-tokens.createaccesstoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.