Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

HashiCorp Secrets API

The Secrets API from HashiCorp — 7 operation(s) for secrets.

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

Tagged areas include Secrets. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a getting-started guide.

This API exposes 14 operations across 7 paths. It is described by OpenAPI 3.0.2, at version 1.9.3.

14 operations 7 paths 0 schemas 3 DELETE4 GET7 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.2
API Version
1.9.3
Resource Areas
1

Paths & Operations 14

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

Secrets 14
GET
/cubbyhole/{path}
HashiCorp Retrieve the secret at the specified location.
getCubbyholePath 2 params → 200
POST
/cubbyhole/{path}
HashiCorp Store a secret at the specified location.
postCubbyholePath 1 param → 200
DELETE
/cubbyhole/{path}
HashiCorp Deletes the secret at the specified location.
deleteCubbyholePath 1 param → 204
GET
/secret/config
HashiCorp Read the backend level settings.
getSecretConfig → 200
POST
/secret/config
HashiCorp Configure backend level settings that are applied to every key in the key-value store.
postSecretConfig body → 200
GET
/secret/data/{path}
HashiCorp Write, Patch, Read, and Delete data in the Key-Value Store.
getSecretDataPath 1 param → 200
POST
/secret/data/{path}
HashiCorp Write, Patch, Read, and Delete data in the Key-Value Store.
postSecretDataPath 1 param body → 200
DELETE
/secret/data/{path}
HashiCorp Write, Patch, Read, and Delete data in the Key-Value Store.
deleteSecretDataPath 1 param → 204
POST
/secret/delete/{path}
HashiCorp Marks one or more versions as deleted in the KV store.
postSecretDeletePath 1 param body → 200
POST
/secret/destroy/{path}
HashiCorp Permanently removes one or more versions in the KV store
postSecretDestroyPath 1 param body → 200
GET
/secret/metadata/{path}
HashiCorp Configures settings for the KV store
getSecretMetadataPath 2 params → 200
POST
/secret/metadata/{path}
HashiCorp Configures settings for the KV store
postSecretMetadataPath 1 param body → 200
DELETE
/secret/metadata/{path}
HashiCorp Configures settings for the KV store
deleteSecretMetadataPath 1 param → 204
POST
/secret/undelete/{path}
HashiCorp Undeletes one or more versions from the KV store.
postSecretUndeletePath 1 param body → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hashicorp-secrets-api-openapi.yml Raw ↑

Other APIs HashiCorp publishes across the network.

HashiCorp Terraform
HashiCorp Nomad
HashiCorp Consul
HashiCorp Boundary
HashiCorp Vagrant
HashiCorp Auth API
HashiCorp Identity API
HashiCorp System API