Get Key Rotation Policies

GET {{apiPath}}/environments/{{envID}}/keyRotationPolicies

The GET /environments/{{envID}}/keyRotationPolicies endpoint returns all KRPs for the specified environment. This endpoint supports the filter pagination query parameter.

Request Params

KeyDatatypeRequiredDescription
filternull

RESPONSES

status: OK

{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/1p64ab27-ac87-4171-84m1-9b4690b6e420/keyRotationPolicies"},"environment":{"href":"https://api.pingone.com/v1/environments/1p64ab27-ac87-4171-84m1-9b4690b6e420"}},"_embedded":{"keyRotationPolicies":[{"id":"13a03c5f-825d-47f3-95e8-20ac19f51251","environment":{"id":"1p64ab27-ac87-4171-84m1-9b4690b6e420"},"name":"PingOne Key Rotation Policy for My Environment environment","usageType":"SIGNING","default":true,"dn":"C=US,O=Ping Identity,OU=Ping Identity,CN=PingOne Key Rotation Policy for My Environment environment","algorithm":"RSA","keyLength":2048,"validityPeriod":365,"signatureAlgorithm":"SHA256withRSA","rotationPeriod":90,"currentKeyId":"47c36180-71cb-11ed-8dcd-9da5faeb9995","nextKeyId":"47d53bd0-71cb-11ed-8dcd-9da5faeb9995","rotatedAt":"2022-12-01T22:55:41.356Z"},{"id":"1bd9c76c-6103-4c4c-a4ec-af66c0504ff7","environment":{"id":"1p64ab27-ac87-4171-84m1-9b4690b6e420"},"name":"Test Key Rotation Policy","usageType":"SIGNING","default":false,"dn":"CN=Test Key Rotation Policy, OU=Ping Identity, O=Ping Identity, C=US","algorithm":"RSA","keyLength":2048,"validityPeriod":365,"signatureAlgorithm":"SHA256withRSA","rotationPeriod":120,"currentKeyId":"4dc219c0-7679-11ed-bb86-f73f994c34e2","nextKeyId":"4de02910-7679-11ed-bb86-f73f994c34e2","rotatedAt":"2022-12-07T21:51:28.501Z"}]},"size":2}