---
title: "Create credentials for waas wallet delegation"
method: POST
path: "/environments/{environmentId}/waas/delegatedAccess/encryptionPublicKeys"
tags: ["Waas"]
---

# Create credentials for waas wallet delegation

`POST /environments/{environmentId}/waas/delegatedAccess/encryptionPublicKeys`

## Path parameters

- `environmentId` string, required

## Request body

- WaasDelegationCredentialsRequest
  - `publicKey` string, required — A string with a max length of 4096 characters
  - `alg` string
  - `type` 'dynamic' | 'external'

## Response `201`

Credentials for waas wallet delegation created successfully

- WaasDelegationCredentialsResponse
  - `publicKey` string, required — A string with a max length of 4096 characters
  - `kid` string, required — Short identifier referenced in webhook envelopes so the developer knows which private key to use
  - `alg` 'RSA-OAEP-256' | 'HYBRID-RSA-AES-256', required — Algorithm for how this key is used
  - `type` 'dynamic' | 'external'
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/dynamic/apis/dashboard-api.md) · [All operations](https://skmtc.net/dynamic/apis/dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dynamic/dashboard-api/versions/aac826315d90/schema)
