GET PKI/HashiCorp/CA

Lists all HashiCorp Vault PKI secrets engines that are managed by Trust Protection Platform.

Requirements

  • Permissions:  The caller must have View permission and Read permission.
  • Token scope:  Certificate

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

None. Make sure the URL ends with a trailing slash. Otherwise, some environments, such as cURL and PowerShell return a HTTP 307 Temporary Redirect message.

Returns

Response description

Name

Description

HTTP 404

Not Found

HTTP 307

If the method is missing a slash (/) at the end of the URL or between the query parameters, this message appears: There is no operation listening for [Web SDK method], but there is an operation listening for [Web SDK method/], so you are being redirected there.

HTTP 200

For valid requests, Certificates/Request returns a HTTP 200 message and the following message body:

Example:

Request

GET https://test.venafi.example/vedsdk/PKI/HashiCorp/CA/ 
Authorization:Bearer 4MyGeneratedBearerTknz==

Response

HTTP/1.1 200 OK
{ 
   "pkis":[ 
      { 
         "CertificateDn":"\\VED\\Policy\\VK\\HashiCorp\\www.test.venafi.com2",
         "CertificateGuid":"{809f3036-fd1f-4b03-9951-12e773a653e0}",
         "PkiDn":"\\VED\\Policy\\VK\\HashiCorp\\192.168.1.150\\pki-issuer",
         "PkiGuid":"{d790add4-d9e7-474a-a667-f397b1b2f12d}"
      }
   ]
}