POST SecretStore/LookupByVaultType
Returns the Vault IDs for vault entries of the specified Vault Type.
Requirements
- Permissions: The caller must have Read permission to the owner for VaultID to appear in the results.
- Token scope: Restricted
Headers
-
Content type: Content-Type:application/json.
- Token: The bearer access token that you received. For example, Authorization:Bearer 4MyGeneratedBearerTknz==. For more information, see Passing a bearer token in your API calls.
Parameters
|
Name |
Description |
|---|---|
|
The category of vault storage. |
Returns
|
Name |
Description |
|---|---|
|
VaultIDs |
A array of vault IDs. |
|
Result |
A number indicating the status:
|
Example: Find Vault Ids by Vault Type
Request
POST https://tpp.venafi.example/vedsdk/SecretStore/LookupByVaultType
Authorization:Bearer 4MyGeneratedBearerTknz==
{
"VaultType":16
}
Response
HTTP/1.1 200 OK
{
"Result":0,
"VaultIDs":[
469,
468,
467,
466
]
}