{ "opencollection": "1.0.0", "info": { "name": "HashiCorp Vault KV Secrets Engine Auth Methods Secrets Metadata API", "version": "2.0" }, "request": { "auth": { "type": "apikey", "key": "X-Vault-Token", "value": "{{X-Vault-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Secrets Metadata", "type": "folder" }, "items": [ { "info": { "name": "HashiCorp Vault Read Secret Metadata", "type": "http" }, "http": { "method": "GET", "url": "https://vault.example.com/v1/secret/metadata/:path", "params": [ { "name": "path", "value": "", "type": "path", "description": "Path to the secret in the KV v2 store. Use forward slashes to organize secrets in a hierarchy. Example: myapp/production/db." } ] }, "docs": "Retrieve metadata and version history for a secret at the given path. Returns all version timestamps, current version number, max versions setting, CAS required status, and custom metadata." }, { "info": { "name": "HashiCorp Vault Write Secret Metadata", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/secret/metadata/:path", "params": [ { "name": "path", "value": "", "type": "path", "description": "Path to the secret in the KV v2 store. Use forward slashes to organize secrets in a hierarchy. Example: myapp/production/db." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create or update metadata for a secret including max versions, CAS required setting, delete version after duration, and custom metadata key-value pairs." }, { "info": { "name": "HashiCorp Vault Delete Secret Metadata", "type": "http" }, "http": { "method": "DELETE", "url": "https://vault.example.com/v1/secret/metadata/:path", "params": [ { "name": "path", "value": "", "type": "path", "description": "Path to the secret in the KV v2 store. Use forward slashes to organize secrets in a hierarchy. Example: myapp/production/db." } ] }, "docs": "Permanently delete all metadata and versions for a secret at the given path. This operation is irreversible and removes all version history." } ] } ], "bundled": true }