{ "opencollection": "1.0.0", "info": { "name": "HashiCorp Vault Vault Auth Methods AppRole Token API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-Vault-Token", "value": "{{X-Vault-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Token", "type": "folder" }, "items": [ { "info": { "name": "HashiCorp Vault Create token", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/auth/token/create", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new token. Certain options are only available when called by a root token. If used via the /auth/token/create/orphan endpoint, a root or sudo token is not required." }, { "info": { "name": "HashiCorp Vault Create orphan token", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/auth/token/create-orphan", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new orphan token that has no parent. Requires a root token or sudo capability." }, { "info": { "name": "HashiCorp Vault Create token with role", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/auth/token/create/:role_name", "params": [ { "name": "role_name", "value": "", "type": "path", "description": "Name of the token role" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new token based on a named token role." }, { "info": { "name": "HashiCorp Vault Lookup token", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/auth/token/lookup", "body": { "type": "json", "data": "{}" } }, "docs": "Returns information about the specified token." }, { "info": { "name": "HashiCorp Vault Lookup self token", "type": "http" }, "http": { "method": "GET", "url": "https://vault.example.com/v1/auth/token/lookup-self" }, "docs": "Returns information about the token used to make this request." }, { "info": { "name": "HashiCorp Vault Renew token", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/auth/token/renew", "body": { "type": "json", "data": "{}" } }, "docs": "Renews a lease associated with the specified token." }, { "info": { "name": "HashiCorp Vault Renew self token", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/auth/token/renew-self", "body": { "type": "json", "data": "{}" } }, "docs": "Renews the lease on the token used to make this request." }, { "info": { "name": "HashiCorp Vault Revoke token", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/auth/token/revoke", "body": { "type": "json", "data": "{}" } }, "docs": "Revokes the specified token and all child tokens." }, { "info": { "name": "HashiCorp Vault Revoke self token", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/auth/token/revoke-self" }, "docs": "Revokes the token used to make this request." }, { "info": { "name": "HashiCorp Vault Read token role", "type": "http" }, "http": { "method": "GET", "url": "https://vault.example.com/v1/auth/token/roles/:role_name", "params": [ { "name": "role_name", "value": "", "type": "path", "description": "Name of the role" } ] }, "docs": "Reads the configuration of the named token role." }, { "info": { "name": "HashiCorp Vault Create or update token role", "type": "http" }, "http": { "method": "POST", "url": "https://vault.example.com/v1/auth/token/roles/:role_name", "params": [ { "name": "role_name", "value": "", "type": "path", "description": "Name of the role" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates the named token role." }, { "info": { "name": "HashiCorp Vault Delete token role", "type": "http" }, "http": { "method": "DELETE", "url": "https://vault.example.com/v1/auth/token/roles/:role_name", "params": [ { "name": "role_name", "value": "", "type": "path", "description": "Name of the role" } ] }, "docs": "Deletes the named token role." } ] } ], "bundled": true }