Create a new Vault App Role

Request

POST https://{hostname}:{port}
    /cli/vault/appRole/create
Accept: {contentType}
Table 1. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true
This command takes a JSON request string or file. Use the following template for the request:
{
  "name": "The Vault App Role Name (Required, Unique per 
  Vault store)",
  "roleId": "The Vault Role ID (Required)",
  "secretId": "The Vault Secret ID (Optional)",
  "store": "Name/ID of the Vault store (Required)"
}

Related CLI command: createVaultAppRole.