HashiCorp Vault Leases API
Lease management
HashiCorp Vault Leases API is one of 9 APIs that HashiCorp Vault publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Leases. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and a getting-started guide.
This API exposes 3 operations across 3 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 1.15.0.
Requests are made against 2 base URLs: https://127.0.0.1:8200/v1, https://{vault_host}:{port}/v1.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
HashiCorp Vault Leases 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 client token
Paths & Operations 3
Across 3 paths, the API surfaces 3 operations — 3 PUT. Each is listed below with its method, path, parameters, and response codes.
Lease management
Schemas 1
The contract defines 1 schema that model the data the API accepts and returns. The most detailed is VaultResponse (8 properties). 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 8
Other APIs HashiCorp Vault publishes across the network.