POST SecretStore/LookupByOwner
Returns the IDs of vault entries associated with the specified owner under the specified namespace.
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. |
|
Owner |
The distinguished name of the owner. |
|
VaultType (Optional) |
Limits the search to vaults of this type. See SecretStore Vault Type. |
Returns
|
Name |
Description |
|---|---|
|
Result |
A number indicating the status:
|
|
VaultIDs |
An array containing the located vault IDs. |
Example Find owner of Secret Store data
Request
POST https://tpp.venafi.example/vedsdk/SecretStore/LookupByOwner
Authorization:Bearer 4MyGeneratedBearerTknz==
{
"Namespace":"config",
"Owner":"\\VED\\Identity\\NoRightsUser"
}
Response
HTTP/1.1 200 OK
{
"Result":0,
"VaultIDs":[
469,
466
]
}