{ "opencollection": "1.0.0", "info": { "name": "HashiCorp Vault HTTP Auth - AppRole Secrets - KV v2 API", "version": "1.15.0" }, "request": { "auth": { "type": "apikey", "key": "X-Vault-Token", "value": "{{X-Vault-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Secrets - KV v2", "type": "folder" }, "items": [ { "info": { "name": "Read KV secret (v2)", "type": "http" }, "http": { "method": "GET", "url": "https://127.0.0.1:8200/v1/secret/data/:path", "params": [ { "name": "path", "value": "", "type": "path" }, { "name": "version", "value": "", "type": "query", "description": "Specific version to read" } ] }, "docs": "Reads a secret from the KV v2 secrets engine at the given path." }, { "info": { "name": "Create or update KV secret (v2)", "type": "http" }, "http": { "method": "POST", "url": "https://127.0.0.1:8200/v1/secret/data/:path", "params": [ { "name": "path", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new version of a secret at the specified path." }, { "info": { "name": "Delete latest version of KV secret", "type": "http" }, "http": { "method": "DELETE", "url": "https://127.0.0.1:8200/v1/secret/data/:path", "params": [ { "name": "path", "value": "", "type": "path" } ] }, "docs": "Delete latest version of KV secret" }, { "info": { "name": "Read KV secret metadata", "type": "http" }, "http": { "method": "GET", "url": "https://127.0.0.1:8200/v1/secret/metadata/:path", "params": [ { "name": "path", "value": "", "type": "path" } ] }, "docs": "Returns metadata and version history for the secret at the given path." }, { "info": { "name": "Delete all versions and metadata", "type": "http" }, "http": { "method": "DELETE", "url": "https://127.0.0.1:8200/v1/secret/metadata/:path", "params": [ { "name": "path", "value": "", "type": "path" } ] }, "docs": "Permanently deletes the key metadata and all version data." }, { "info": { "name": "Delete specific versions of KV secret", "type": "http" }, "http": { "method": "POST", "url": "https://127.0.0.1:8200/v1/secret/delete/:path", "params": [ { "name": "path", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Delete specific versions of KV secret" }, { "info": { "name": "Undelete versions of KV secret", "type": "http" }, "http": { "method": "POST", "url": "https://127.0.0.1:8200/v1/secret/undelete/:path", "params": [ { "name": "path", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Undelete versions of KV secret" }, { "info": { "name": "Permanently destroy versions", "type": "http" }, "http": { "method": "POST", "url": "https://127.0.0.1:8200/v1/secret/destroy/:path", "params": [ { "name": "path", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Permanently removes the data for the specified versions (cannot be recovered)." } ] } ], "bundled": true }