GET SecretStore/EncryptionKeysInUse
Returns all encryption keys that are currently in use.
Requirements
- Permissions: The caller is not required to have any special permissions.
- Token scope: Restricted
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 |
|---|---|
|
EncryptionKeys |
An array of encryption key names. If you upgraded from a previous release, older vault entries may still be labeled DPAPI:Default or DPAPI:Alternative. |
|
Result |
A number indicating the status:
|
Example: Find encryption keys that are currently in use
Request
GET https://tpp.venafi.example/vedsdk/SecretStore/ Authorization:Bearer 4MyGeneratedBearerTknz==
Response
HTTP/1.1 200 OK
{
"EncryptionKeys":[
"Null:Null",
"Software:Default"
],
"Result":0
}