Skip to main content
Request signing is available only to approved beta and test customers. Dynamic must enable it for each environment, and enrolled customers must use the beta Node SDK version that Dynamic provides. Unless Dynamic has confirmed that your environment is enabled, continue using authenticateApiToken.
Request signing authenticates requests from the Dynamic Node SDK. You register a public signing key to your project environment, then configure the SDK with the corresponding private key and a Dynamic API token. The SDK signs each request so Dynamic can verify which registered server sent it and whether the request changed in transit. Once Dynamic enables request signing for your environment, you can use it to authenticate standard Node SDK operations such as creating a wallet. Request signing does not require delegated access, an encryption key, or a webhook unless the workflow you build has those separate requirements.

Prerequisites

Before you configure request signing, you need:
  • Confirmation from Dynamic that request signing is enabled for your environment.
  • The beta Node SDK version supplied during enrollment.
  • Your Dynamic environment ID and an API token from the Dynamic Console.

Register a signing key

Registering a signing key maps your server identity to one Dynamic environment.
  1. Open the Developer dashboard, then go to Server Signing Keys.
  2. Select Add signing key and enter a label, such as Production server.
  3. Generate a P-256 key pair:
    • Select Generate key pair automatically to create the pair in your browser.
    • Select Bring your own key pair to register the public key in SEC1 hexadecimal format for a pair you manage.
  4. Select Add. When the Dynamic Console generates the pair, save the private key when it appears.
  5. Store the private key in a secrets manager, hardware security module (HSM), or key management service (KMS) that your server can access.
Dynamic stores only the public key and cannot display the private key again. Never commit the private key, expose it to a client, log it, or send it to Dynamic.

Authenticate Node SDK requests

Configure requestSigningOption with the registered private key and your API token. The SDK signs subsequent requests from the client.
Use the authenticated client for standard Node SDK operations. The private key proves which registered server sent the request, and the API token remains part of the beta request-signing configuration.
To combine request signing with Business Account approval requirements, follow Delegate to a Server Signer.

Security considerations

Use a separate signing key for each server identity and environment. Restrict access to the private key to the service that signs requests, and rotate or revoke the registered key when you suspect exposure.
Last modified on December 4, 2026