POST Codesign/FindEnvironment

Returns a Venafi CodeSign Protect Environment based on public key hash.

Requirements

  • Permissions: The caller must be a Code Signing Administrator or a member of any role on the project.
  • Token scope:  Codesign

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

PublicKeyHash The public key hash of a HSM environment.

Returns

Response description

Name

Description

Error

Appears only when Success is false. An error message that accompanies the Result. Check your payload input values.

Example: Find a HSM environment

Request

POST https://codesign.venafi.example/vedsdk/Codesign/FindEnvironment
Authorization:Bearer 4MyGeneratedBearerTknz==
{
   "PublicKeyHash": "FC8A501D7AEC932910B30D0597B813A5187DBD4F629146AFBF4EC047ACB9E6C5"
}

Response

HTTP/1.1 200 OK
{
   
}