naftiko: 1.0.0-alpha2 info: label: HashiCorp Vault Vault Auth Methods API — Kubernetes description: 'HashiCorp Vault Vault Auth Methods API — Kubernetes. 6 operations. Lead operation: HashiCorp Vault Read Kubernetes auth configuration. Self-contained Naftiko capability covering one Hvault business surface.' tags: - Hvault - Kubernetes 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-kubernetes baseUri: https://vault.example.com/v1 description: HashiCorp Vault Vault Auth Methods API — Kubernetes business capability. Self-contained, no shared references. resources: - name: auth-kubernetes-config path: /auth/kubernetes/config operations: - name: readkubernetesconfig method: GET description: HashiCorp Vault Read Kubernetes auth configuration outputRawFormat: json outputParameters: - name: result type: object value: $. - name: configurekubernetesauth method: POST description: HashiCorp Vault Configure Kubernetes auth outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: auth-kubernetes-login path: /auth/kubernetes/login operations: - name: loginwithkubernetes method: POST description: HashiCorp Vault Login with Kubernetes outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: auth-kubernetes-role-name path: /auth/kubernetes/role/{name} operations: - name: readkubernetesrole method: GET description: HashiCorp Vault Read Kubernetes role outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string description: Name of the role required: true - name: createorupdatekubernetesrole method: POST description: HashiCorp Vault Create or update Kubernetes role outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string description: Name of the role required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletekubernetesrole method: DELETE description: HashiCorp Vault Delete Kubernetes role outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string description: Name of the role required: true authentication: type: apikey key: X-Vault-Token value: '{{env.HVAULT_API_KEY}}' placement: header exposes: - type: rest namespace: auth-methods-kubernetes-rest port: 8080 description: REST adapter for HashiCorp Vault Vault Auth Methods API — Kubernetes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/auth/kubernetes/config name: auth-kubernetes-config description: REST surface for auth-kubernetes-config. operations: - method: GET name: readkubernetesconfig description: HashiCorp Vault Read Kubernetes auth configuration call: auth-methods-kubernetes.readkubernetesconfig outputParameters: - type: object mapping: $. - method: POST name: configurekubernetesauth description: HashiCorp Vault Configure Kubernetes auth call: auth-methods-kubernetes.configurekubernetesauth with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/auth/kubernetes/login name: auth-kubernetes-login description: REST surface for auth-kubernetes-login. operations: - method: POST name: loginwithkubernetes description: HashiCorp Vault Login with Kubernetes call: auth-methods-kubernetes.loginwithkubernetes with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/auth/kubernetes/role/{name} name: auth-kubernetes-role-name description: REST surface for auth-kubernetes-role-name. operations: - method: GET name: readkubernetesrole description: HashiCorp Vault Read Kubernetes role call: auth-methods-kubernetes.readkubernetesrole with: name: rest.name outputParameters: - type: object mapping: $. - method: POST name: createorupdatekubernetesrole description: HashiCorp Vault Create or update Kubernetes role call: auth-methods-kubernetes.createorupdatekubernetesrole with: name: rest.name body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletekubernetesrole description: HashiCorp Vault Delete Kubernetes role call: auth-methods-kubernetes.deletekubernetesrole with: name: rest.name outputParameters: - type: object mapping: $. - type: mcp namespace: auth-methods-kubernetes-mcp port: 9090 transport: http description: MCP adapter for HashiCorp Vault Vault Auth Methods API — Kubernetes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: hashicorp-vault-read-kubernetes-auth description: HashiCorp Vault Read Kubernetes auth configuration hints: readOnly: true destructive: false idempotent: true call: auth-methods-kubernetes.readkubernetesconfig outputParameters: - type: object mapping: $. - name: hashicorp-vault-configure-kubernetes-auth description: HashiCorp Vault Configure Kubernetes auth hints: readOnly: false destructive: false idempotent: false call: auth-methods-kubernetes.configurekubernetesauth with: body: tools.body outputParameters: - type: object mapping: $. - name: hashicorp-vault-login-kubernetes description: HashiCorp Vault Login with Kubernetes hints: readOnly: false destructive: false idempotent: false call: auth-methods-kubernetes.loginwithkubernetes with: body: tools.body outputParameters: - type: object mapping: $. - name: hashicorp-vault-read-kubernetes-role description: HashiCorp Vault Read Kubernetes role hints: readOnly: true destructive: false idempotent: true call: auth-methods-kubernetes.readkubernetesrole with: name: tools.name outputParameters: - type: object mapping: $. - name: hashicorp-vault-create-update-kubernetes description: HashiCorp Vault Create or update Kubernetes role hints: readOnly: false destructive: false idempotent: false call: auth-methods-kubernetes.createorupdatekubernetesrole with: name: tools.name body: tools.body outputParameters: - type: object mapping: $. - name: hashicorp-vault-delete-kubernetes-role description: HashiCorp Vault Delete Kubernetes role hints: readOnly: false destructive: true idempotent: true call: auth-methods-kubernetes.deletekubernetesrole with: name: tools.name outputParameters: - type: object mapping: $.