{ "opencollection": "1.0.0", "info": { "name": "HashiCorp Vault Vault Auth Methods AppRole Transit API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-Vault-Token", "value": "{{X-Vault-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Transit", "type": "folder" }, "items": [ { "info": { "name": "HashiCorp Vault Encrypt data", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/transit/encrypt/:name", "params": [ { "name": "name", "value": "", "type": "path", "description": "Name of the encryption key" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Encrypts the provided plaintext using the named encryption key." }, { "info": { "name": "HashiCorp Vault Decrypt data", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/transit/decrypt/:name", "params": [ { "name": "name", "value": "", "type": "path", "description": "Name of the encryption key" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Decrypts the provided ciphertext using the named encryption key." }, { "info": { "name": "HashiCorp Vault Read transit encryption key", "type": "http" }, "http": { "method": "GET", "url": "https://vault.example.com/v1/transit/keys/:name", "params": [ { "name": "name", "value": "", "type": "path", "description": "Name of the encryption key" } ] }, "docs": "Returns information about the named encryption key." }, { "info": { "name": "HashiCorp Vault Create transit encryption key", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/transit/keys/:name", "params": [ { "name": "name", "value": "", "type": "path", "description": "Name of the encryption key" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new named encryption key." }, { "info": { "name": "HashiCorp Vault Delete transit encryption key", "type": "http" }, "http": { "method": "DELETE", "url": "https://vault.example.com/v1/transit/keys/:name", "params": [ { "name": "name", "value": "", "type": "path", "description": "Name of the encryption key" } ] }, "docs": "Deletes the named encryption key. The key must have deletion allowed set to true." } ] } ], "bundled": true }