GET Crypto/DefaultKey

Returns the configured default key name. In previous releases, the DPAPI key served as the default encryption key. The new default encryption key name is Software.

Requirements

  • Permissions: The caller is not required to have any special permissions.
  • Token scope:  Any valid scope, such as Agent, Certificate, or SSH

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.

Returns

Response description

Name

Description

DefaultKey

The value, :Default, appends to the default key name.

Example: Get the default encryption key

Request

GET https://tpp.venafi.example/vedsdk/Crypto/DefaultKey
Authorization:Bearer 4MyGeneratedBearerTknz==

Response

HTTP/1.1 200 OK
{
   "DefaultKey":"Software:Default"
}