HashiCorp Vault · Capability

HashiCorp Vault Vault Auth Methods API — GitHub

HashiCorp Vault Vault Auth Methods API — GitHub. 1 operations. Lead operation: HashiCorp Vault Login with GitHub. Self-contained Naftiko capability covering one Hvault business surface.

Run with Naftiko HvaultGitHub

What You Can Do

POST
Loginwithgithub — HashiCorp Vault Login with GitHub
/v1/auth/github/login

MCP Tools

hashicorp-vault-login-github

HashiCorp Vault Login with GitHub

Capability Spec

auth-methods-github.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: HashiCorp Vault Vault Auth Methods API — GitHub
  description: 'HashiCorp Vault Vault Auth Methods API — GitHub. 1 operations. Lead operation: HashiCorp Vault Login with
    GitHub. Self-contained Naftiko capability covering one Hvault business surface.'
  tags:
  - Hvault
  - GitHub
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HVAULT_API_KEY: HVAULT_API_KEY
capability:
  consumes:
  - type: http
    namespace: auth-methods-github
    baseUri: https://vault.example.com/v1
    description: HashiCorp Vault Vault Auth Methods API — GitHub business capability. Self-contained, no shared references.
    resources:
    - name: auth-github-login
      path: /auth/github/login
      operations:
      - name: loginwithgithub
        method: POST
        description: HashiCorp Vault Login with GitHub
        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: auth-methods-github-rest
    port: 8080
    description: REST adapter for HashiCorp Vault Vault Auth Methods API — GitHub. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/auth/github/login
      name: auth-github-login
      description: REST surface for auth-github-login.
      operations:
      - method: POST
        name: loginwithgithub
        description: HashiCorp Vault Login with GitHub
        call: auth-methods-github.loginwithgithub
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: auth-methods-github-mcp
    port: 9090
    transport: http
    description: MCP adapter for HashiCorp Vault Vault Auth Methods API — GitHub. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: hashicorp-vault-login-github
      description: HashiCorp Vault Login with GitHub
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: auth-methods-github.loginwithgithub
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.