HashiCorp Vault · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for HashiCorp Vault Vault Auth Methods Token API

13 actions 13 updates phrasing extends openapi/hvault-token-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for HashiCorp Vault's API. It is a proposal applied on top of the contract, not a document HashiCorp Vault publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 13

$.info
$.paths['/auth/token/create'].post
$.paths['/auth/token/create-orphan'].post
$.paths['/auth/token/create/{role_name}'].post
$.paths['/auth/token/lookup'].post
$.paths['/auth/token/lookup-self'].get
$.paths['/auth/token/renew'].post
$.paths['/auth/token/renew-self'].post
$.paths['/auth/token/revoke'].post
$.paths['/auth/token/revoke-self'].post
$.paths['/auth/token/roles/{role_name}'].get
$.paths['/auth/token/roles/{role_name}'].post
$.paths['/auth/token/roles/{role_name}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for HashiCorp Vault Vault Auth Methods Token API
  version: 1.0.0
extends: openapi/hvault-token-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 12
- target: $.paths['/auth/token/create'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a new Vault token
      effect: write
      questions:
      - How do I issue a new Vault token with a custom TTL?
      - Can I create a token that is renewable and has a limited number of uses?
      instructions:
      - text: Create a new token with TTL {ttl}.
        slots:
          ttl: requestBody.ttl
      - text: Create a token renewable for {ttl} with {num_uses} uses.
        slots:
          ttl: requestBody.ttl
          num_uses: requestBody.num_uses
      method: generated
      generated: '2026-11-22'
- target: $.paths['/auth/token/create-orphan'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an orphan token
      effect: write
      questions:
      - How do I create a token with no parent token?
      - Does creating an orphan token require a root token?
      instructions:
      - text: Create an orphan token with TTL {ttl}.
        slots:
          ttl: requestBody.ttl
      - text: Create an orphan token for role {role_name}.
        slots:
          role_name: requestBody.role_name
      method: generated
      generated: '2026-11-22'
- target: $.paths['/auth/token/create/{role_name}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a token from a named role
      effect: write
      questions:
      - How do I issue a token based on a specific token role?
      - Can I create a token from a role with a custom display name?
      instructions:
      - text: Create a token from role {role_name}.
        slots:
          role_name: path.role_name
      - text: Issue a token from role {role_name} named {display_name}.
        slots:
          role_name: path.role_name
          display_name: requestBody.display_name
      method: generated
      generated: '2026-11-22'
- target: $.paths['/auth/token/lookup'].post
  update:
    x-apievangelist-phrasing:
      intent: Look up a token's details
      effect: read
      questions:
      - What policies and TTL does a given token have?
      - Can I inspect a token by its ID?
      instructions:
      - text: Look up token {token}.
        slots:
          token: requestBody.token
      - text: Show the details of token {token}.
        slots:
          token: requestBody.token
      method: generated
      generated: '2026-11-22'
- target: $.paths['/auth/token/lookup-self'].get
  update:
    x-apievangelist-phrasing:
      intent: Look up my own token
      effect: read
      questions:
      - Which token did I use to make this request?
      - What policies are attached to my current token?
      instructions:
      - text: Look up my own token.
      - text: Show the token I am using.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/auth/token/renew'].post
  update:
    x-apievangelist-phrasing:
      intent: Renew a token's lease
      effect: write
      questions:
      - How do I extend the lease on a token I am not using?
      - Can I renew a token for a specific increment?
      instructions:
      - text: Renew token {token} for {increment}.
        slots:
          token: requestBody.token
          increment: requestBody.increment
      - text: Extend the lease on token {token}.
        slots:
          token: requestBody.token
      method: generated
      generated: '2026-11-22'
- target: $.paths['/auth/token/renew-self'].post
  update:
    x-apievangelist-phrasing:
      intent: Renew my own token's lease
      effect: write
      questions:
      - How do I renew the token I am currently using?
      - Can I extend the lease on my own token by a set amount?
      instructions:
      - text: Renew my own token for {increment}.
        slots:
          increment: requestBody.increment
      - text: Extend the lease on the token I am using.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/auth/token/revoke'].post
  update:
    x-apievangelist-phrasing:
      intent: Revoke a token and its children
      effect: destructive
      questions:
      - How do I revoke a token and all of its child tokens?
      - Can I invalidate a leaked token by ID?
      instructions:
      - text: Revoke token {token} and all its children.
        slots:
          token: requestBody.token
      - text: Invalidate token {token}.
        slots:
          token: requestBody.token
      method: generated
      generated: '2026-11-22'
- target: $.paths['/auth/token/revoke-self'].post
  update:
    x-apievangelist-phrasing:
      intent: Revoke my own token
      effect: destructive
      questions:
      - How do I revoke the token I am currently using?
      - Can I invalidate my own token?
      instructions:
      - text: Revoke my own token.
      - text: Invalidate the token I am using.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/auth/token/roles/{role_name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Read a token role's configuration
      effect: read
      questions:
      - What policies and TTL does a token role allow?
      - Can I see the configuration of a named token role?
      instructions:
      - text: Read token role {role_name}.
        slots:
          role_name: path.role_name
      - text: Show the configuration of token role {role_name}.
        slots:
          role_name: path.role_name
      method: generated
      generated: '2026-11-22'
- target: $.paths['/auth/token/roles/{role_name}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create or update a token role
      effect: write
      questions:
      - How do I create a token role that only allows certain policies?
      - Can I make a token role's tokens renewable with a period?
      instructions:
      - text: Create token role {role_name} allowing policies {allowed_policies}.
        slots:
          role_name: path.role_name
          allowed_policies: requestBody.allowed_policies
      - text: Set token role {role_name} to have a period of {token_period}.
        slots:
          role_name: path.role_name
          token_period: requestBody.token_period
      method: generated
      generated: '2026-11-22'
- target: $.paths['/auth/token/roles/{role_name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a token role
      effect: destructive
      questions:
      - How do I remove a token role I no longer use?
      - Can I delete a token role by name?
      instructions:
      - text: Delete token role {role_name}.
        slots:
          role_name: path.role_name
      - text: Remove the token role {role_name}.
        slots:
          role_name: path.role_name
      method: generated
      generated: '2026-11-22'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/hvault-token-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.