Skip to main content

Generating a Keypair

The Banking API uses EdDSA authentication with Ed25519 keys. You need to generate a keypair (public and private) before creating a service account.
Never share your private key. Store it securely. You’ll need it to sign all API requests.

Method 1: Online Tool (Easiest)

Use our online tool to generate keys directly in your browser:

Generate Keys Online

Generate an Ed25519 keypair instantly in your browser
The private key is generated locally in your browser - it’s never sent to our servers. Use the ssh-keygen command to generate keys:
This creates two files:
  • service-account-key - Private key (store securely)
  • service-account-key.pub - Public key (used for registration)
To view the public key:
Expected output:

Method 3: OpenSSL

To use with the API, you’ll need to convert the public key to OpenSSH format (ssh-ed25519 ...).

Method 4: Programmatically

Node.js

Python

Public Key Format

The API accepts public keys in OpenSSH format:

Next Step

After generating keys, create a service account in the dashboard:

Create Service Account

Configure permissions and allowed IPs in the Conta Digital dashboard