{ "opencollection": "1.0.0", "info": { "name": "HashiCorp Vault Vault Auth Methods AppRole PKI API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-Vault-Token", "value": "{{X-Vault-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "PKI", "type": "folder" }, "items": [ { "info": { "name": "HashiCorp Vault Issue certificate", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/pki/issue/:name", "params": [ { "name": "name", "value": "", "type": "path", "description": "Name of the PKI role" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Generates a new certificate based on the named role. The private key is returned in the response." }, { "info": { "name": "HashiCorp Vault Read CA certificate", "type": "http" }, "http": { "method": "GET", "url": "https://vault.example.com/v1/pki/ca" }, "docs": "Returns the CA certificate in PEM format." }, { "info": { "name": "HashiCorp Vault Read PKI role", "type": "http" }, "http": { "method": "GET", "url": "https://vault.example.com/v1/pki/roles/:name", "params": [ { "name": "name", "value": "", "type": "path", "description": "Name of the PKI role" } ] }, "docs": "Reads the configuration for the named PKI role." }, { "info": { "name": "HashiCorp Vault Create or update PKI role", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/pki/roles/:name", "params": [ { "name": "name", "value": "", "type": "path", "description": "Name of the PKI role" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates the named PKI role." } ] } ], "bundled": true }