POST SecretStore/OwnerAdd

Adds an owner to an existing vault entry.

Requirements

  • Permissions: The caller must have Write permission to the Owner.
  • Token scope:  Restricted:Manage

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

Input parameters

Name

Description

Namespace

The software namespace to use for this API method. For example config.

Owner

The Distinguished Name of the owner.

VaultID

The integer which uniquely identifies the vault entry to which the owner should be added.

Returns

Upon success SecretStore/OwnerAdd returns a HTTP 200 message. If successful, the event information appears in the Trust Protection Platform log.

Response description

Name

Description

Result

A number indicating the status:

Example

Request

POST https://tpp.venafi.example/vedsdk/SecretStore/OwnerAdd      
Authorization:Bearer 4MyGeneratedBearerTknz==
{
   "VaultID":376,
   "Namespace":"config",
   "Owner":"\\VED\\Policy\\AnotherCredential"
}

Response

HTTP/1.1 200 OK
{
   "Result":1
}