POST SecretStore/OwnerLookup
Returns the owners for the specified vault entry.
Requirements
- Permissions: The caller must have Master Admin permission.
- 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 |
|---|---|
|
Namespace |
The software namespace to use for this API method. For example config. |
|
VaultID |
The integer that uniquely identifies the vault entry of the owners. |
Returns
|
Name |
Description |
|---|---|
|
Owners |
An array of owners for the specified vault entry. |
|
Result |
A number indicating the status:
|
Example
Request
POST https://tpp.venafi.example/vedsdk/SecretStore/OwnerLookup
Authorization:Bearer 4MyGeneratedBearerTknz==
{
"VaultID":376,
"Namespace":"config"
}
Response
HTTP/1.1 200 OK
{
"Result":0,
"Owners":[
"\\VED\\Policy\\AnotherCredential",
"\\VED\\Policy\\LogonCredential"
]
}