GET Crypto/AvailableKeys
Returns the available encryption key names. 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
Name |
Description |
---|---|
Keynames |
An array of available encryption key names. The value, :Default, appends to the default key name. |
Example: Get encryption keys
Request
GET https://tpp.venafi.example/vedsdk/Crypto/AvailableKeys Authorization:Bearer 4MyGeneratedBearerTknz==
Response
HTTP/1.1 200 OK { "Keynames": [ "Software:Default" ] }