Skip to main content
Generates an RSA public-private key pair for client registration. The public key is used during the client registration process, while the private key should be securely stored on the client side.

Endpoint

GET /isw/auth/generateKeys

Authentication

No authentication required.

Response

Returns a map containing the generated key pair.
publicKey
string
required
The RSA public key in string format
privateKey
string
required
The RSA private key in string format. Must be securely stored by the client

Example request

cURL
curl --request GET \
  --url http://localhost:8081/isw/auth/generateKeys

Example response

{
  "publicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...",
  "privateKey": "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQD..."
}

Build docs developers (and LLMs) love