{ "opencollection": "1.0.0", "info": { "name": "HashiCorp Vault Vault Auth Methods AppRole API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-Vault-Token", "value": "{{X-Vault-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "AppRole", "type": "folder" }, "items": [ { "info": { "name": "HashiCorp Vault Login with AppRole", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/auth/approle/login", "body": { "type": "json", "data": "{}" } }, "docs": "Authenticates with Vault using a role ID and secret ID to obtain a Vault token." }, { "info": { "name": "HashiCorp Vault Read AppRole", "type": "http" }, "http": { "method": "GET", "url": "https://vault.example.com/v1/auth/approle/role/:role_name", "params": [ { "name": "role_name", "value": "", "type": "path", "description": "Name of the role" } ] }, "docs": "Reads the properties of the named AppRole." }, { "info": { "name": "HashiCorp Vault Create or update AppRole", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/auth/approle/role/:role_name", "params": [ { "name": "role_name", "value": "", "type": "path", "description": "Name of the role" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates the named AppRole." }, { "info": { "name": "HashiCorp Vault Delete AppRole", "type": "http" }, "http": { "method": "DELETE", "url": "https://vault.example.com/v1/auth/approle/role/:role_name", "params": [ { "name": "role_name", "value": "", "type": "path", "description": "Name of the role" } ] }, "docs": "Deletes the named AppRole." }, { "info": { "name": "HashiCorp Vault Read AppRole role ID", "type": "http" }, "http": { "method": "GET", "url": "https://vault.example.com/v1/auth/approle/role/:role_name/role-id", "params": [ { "name": "role_name", "value": "", "type": "path", "description": "Name of the role" } ] }, "docs": "Returns the role ID of the named AppRole." }, { "info": { "name": "HashiCorp Vault Generate AppRole secret ID", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/auth/approle/role/:role_name/secret-id", "params": [ { "name": "role_name", "value": "", "type": "path", "description": "Name of the role" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Generates a new secret ID for the named AppRole." } ] } ], "bundled": true }