Lithic · Capability

Lithic Developer API — Auth Stream Access (ASA)

Lithic Developer API — Auth Stream Access (ASA). 2 operations. Lead operation: Retrieve the ASA HMAC secret key. Self-contained Naftiko capability covering one Lithic business surface.

Run with Naftiko LithicAuth Stream Access (ASA)

What You Can Do

GET
Getauthstreamsecret — Retrieve the ASA HMAC secret key
/v1/v1/auth-stream/secret
POST
Rotateauthstreamsecret — Rotate the ASA HMAC secret key
/v1/v1/auth-stream/secret/rotate

MCP Tools

retrieve-asa-hmac-secret-key

Retrieve the ASA HMAC secret key

read-only idempotent
rotate-asa-hmac-secret-key

Rotate the ASA HMAC secret key

Capability Spec

lithic-auth-stream-access-asa.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Lithic Developer API — Auth Stream Access (ASA)
  description: 'Lithic Developer API — Auth Stream Access (ASA). 2 operations. Lead operation: Retrieve the ASA HMAC secret
    key. Self-contained Naftiko capability covering one Lithic business surface.'
  tags:
  - Lithic
  - Auth Stream Access (ASA)
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LITHIC_API_KEY: LITHIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: lithic-auth-stream-access-asa
    baseUri: https://sandbox.lithic.com
    description: Lithic Developer API — Auth Stream Access (ASA) business capability. Self-contained, no shared references.
    resources:
    - name: v1-auth_stream-secret
      path: /v1/auth_stream/secret
      operations:
      - name: getauthstreamsecret
        method: GET
        description: Retrieve the ASA HMAC secret key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-auth_stream-secret-rotate
      path: /v1/auth_stream/secret/rotate
      operations:
      - name: rotateauthstreamsecret
        method: POST
        description: Rotate the ASA HMAC secret key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.LITHIC_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: lithic-auth-stream-access-asa-rest
    port: 8080
    description: REST adapter for Lithic Developer API — Auth Stream Access (ASA). One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/auth-stream/secret
      name: v1-auth-stream-secret
      description: REST surface for v1-auth_stream-secret.
      operations:
      - method: GET
        name: getauthstreamsecret
        description: Retrieve the ASA HMAC secret key
        call: lithic-auth-stream-access-asa.getauthstreamsecret
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/auth-stream/secret/rotate
      name: v1-auth-stream-secret-rotate
      description: REST surface for v1-auth_stream-secret-rotate.
      operations:
      - method: POST
        name: rotateauthstreamsecret
        description: Rotate the ASA HMAC secret key
        call: lithic-auth-stream-access-asa.rotateauthstreamsecret
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lithic-auth-stream-access-asa-mcp
    port: 9090
    transport: http
    description: MCP adapter for Lithic Developer API — Auth Stream Access (ASA). One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: retrieve-asa-hmac-secret-key
      description: Retrieve the ASA HMAC secret key
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lithic-auth-stream-access-asa.getauthstreamsecret
      outputParameters:
      - type: object
        mapping: $.
    - name: rotate-asa-hmac-secret-key
      description: Rotate the ASA HMAC secret key
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: lithic-auth-stream-access-asa.rotateauthstreamsecret
      outputParameters:
      - type: object
        mapping: $.