Test resolving a value from a Vault AppRole.

Request

PUT https://{hostname}:{port}
    /cli/vault/appRole/test?{parameters}
Accept: {contentType}
Content-Type: {contentType}
Table 1. Request parameters
Parameter Type Required Description
store string false Vault Secret Store ID/Name
vaultAppRole string true Name or ID of the Vault App Role
Table 2. Header parameters
Parameter Type Required Description
Content-Type
  • application/json
  • application/yaml
true
Accept
  • application/json
  • application/yaml
true
This command takes a JSON request string or file. Use the following template for the request:
{
  "property": "Property to resolve from vault. i.e. 
  vault/KV/Holder:key. (Required)",
  "secretId": "The secretId to use for authentication. 
  (Required if not set on Vault AppRole. Ignored if already 
  set on Vault AppRole)"
}

Related CLI command: testVaultAppRole.