How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

HashiCorp Vault Secrets Data API

Read, write, patch, and delete secret data versions in the KV v2 engine.

HashiCorp Vault Secrets Data API is one of 17 APIs that HashiCorp Vault publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 5 JSON Schema definitions.

Tagged areas include Secrets Data. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 5 JSON Schemas.

This API exposes 6 operations across 4 paths, and defines 6 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against a single base URL, https://vault.example.com/v1.

6 operations 4 paths 6 schemas 1 DELETE1 GET3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Base URL
https://vault.example.com/v1
Authentication
API Key
License
Terms of Service
Resource Areas
1

Authentication & Security 1

HashiCorp Vault Secrets Data 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 token for authenticating API requests. Tokens can be created via login endpoints or the token auth method. The token must have appropriate policy permiss…

Paths & Operations 6

Across 4 paths, the API surfaces 6 operations — 1 DELETE, 1 GET, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Secrets Data 6

Read, write, patch, and delete secret data versions in the KV v2 engine.

GET
/secret/data/{path}
HashiCorp Vault Read Secret
readSecret 2 params → 200403404
POST
/secret/data/{path}
HashiCorp Vault Write Secret
writeSecret 1 param body → 200400403
DELETE
/secret/data/{path}
HashiCorp Vault Delete Latest Secret Version
deleteLatestSecretVersion 1 param → 204403404
POST
/secret/delete/{path}
HashiCorp Vault Delete Secret Versions
deleteSecretVersions 1 param body → 204403
POST
/secret/undelete/{path}
HashiCorp Vault Undelete Secret Versions
undeleteSecretVersions 1 param body → 204403
PUT
/secret/destroy/{path}
HashiCorp Vault Destroy Secret Versions
destroySecretVersions 1 param body → 204403

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are SecretVersionMetadata (4 properties), SecretDataRequest (2 properties), SecretWriteResponse (1 property), VaultError (1 property). Each schema is shown below with its type and property counts.

VersionsRequest
object
1 property 1 required
SecretDataResponse
object
1 property
SecretDataRequest
object
2 properties 1 required
SecretVersionMetadata
object
4 properties
VaultError
object
1 property
SecretWriteResponse
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

vault-secrets-data-api-openapi.yml Raw ↑

Other APIs HashiCorp Vault publishes across the network.

HashiCorp Vault Auth - AppRole API
HashiCorp Vault Auth - Token API
HashiCorp Vault Auth - Userpass API
HashiCorp Vault Identity API
HashiCorp Vault Leases API
HashiCorp Vault Policy API
HashiCorp Vault Secrets - KV v2 API
HashiCorp Vault Secrets - Transit API
HashiCorp Vault System API
Vault HTTP API
HashiCorp Vault Auth Methods API
HashiCorp Vault Health API
Where this information came from

This is an independent, third-party profile of HashiCorp Vault Secrets Data API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.