Test resolving a value from a Vault AppRole.
Request
PUT https://{hostname}:{port}
/cli/vault/appRole/test?{parameters}
Accept: {contentType}
Content-Type: {contentType}
Parameter | Type | Required | Description |
---|---|---|---|
store | string | false | Vault Secret Store ID/Name |
vaultAppRole | string | true | Name or ID of the Vault App Role |
Parameter | Type | Required | Description |
---|---|---|---|
Content-Type |
|
true | |
Accept |
|
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.