curl --request GET \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/waas/delegatedAccess/encryptionPublicKeys \
--header 'Authorization: Bearer <token>'{
"message": "<string>",
"key": {
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
"kid": "<string>",
"alg": "RSA-OAEP-256",
"publicKeyPemB64": "<string>",
"status": "pending",
"type": "dynamic",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"revokedAt": "2023-11-07T05:31:56Z"
},
"keys": [
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
"kid": "<string>",
"alg": "RSA-OAEP-256",
"publicKeyPemB64": "<string>",
"status": "pending",
"type": "dynamic",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"revokedAt": "2023-11-07T05:31:56Z"
}
]
}Fetches the encryption public keys used for delegated access in a WAAS environment. By default, returns only the latest active key. Use the includeAll query parameter to get all keys.
curl --request GET \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/waas/delegatedAccess/encryptionPublicKeys \
--header 'Authorization: Bearer <token>'{
"message": "<string>",
"key": {
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
"kid": "<string>",
"alg": "RSA-OAEP-256",
"publicKeyPemB64": "<string>",
"status": "pending",
"type": "dynamic",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"revokedAt": "2023-11-07T05:31:56Z"
},
"keys": [
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
"kid": "<string>",
"alg": "RSA-OAEP-256",
"publicKeyPemB64": "<string>",
"status": "pending",
"type": "dynamic",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"revokedAt": "2023-11-07T05:31:56Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the environment
36"95b11417-f18f-457f-8804-68e361f9164f"
If true, returns all encryption public keys. Otherwise, returns only the latest active key.
Was this page helpful?