Skip to main content
GET
/
sdk
/
{environmentId}
/
waas
/
delegatedAccess
/
encryptionPublicKey
Get delegated access encryption public key for an environment
curl --request GET \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/waas/delegatedAccess/encryptionPublicKey \
  --header 'Authorization: Bearer <token>'
{
  "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"
  },
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Response

Encryption public key fetched successfully

key
object
required
message
string
required

Message describing the operation result