HashiCorp Vault Token API
Token auth method for token lifecycle management
HashiCorp Vault Token API is one of 28 APIs that HashiCorp Vault publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Token. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.
This API exposes 12 operations across 10 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 1.0.
Requests are made against a single base URL, https://vault.example.com/v1.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
HashiCorp Vault Token API declares
1 security scheme
for authenticating requests.
An API key is passed in the header as X-Vault-Token (vaultToken).
By default, every request must be authenticated.
vaultToken— Vault authentication token
Paths & Operations 12
Across 10 paths, the API surfaces 12 operations — 1 DELETE, 2 GET, 9 POST. Each is listed below with its method, path, parameters, and response codes.
Token auth method for token lifecycle management
Schemas 4
The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are CreateTokenRequest (14 properties), TokenRole (9 properties), AuthResponse (5 properties), TokenLookupResponse (1 property). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from HashiCorp Vault 12
Other APIs HashiCorp Vault publishes across the network.