secp256k1 curve. You generate the keypair locally; only the public half ever leaves your environment.
Step 1 — Install OpenSSL
OpenSSL ships preinstalled on macOS and most Linux distributions. On Windows, install the version that ships with Git for Windows or grab a build from openssl.org.Step 2 — Generate the private key
privateKey.pem to your working directory.
Step 3 — Extract the key pair in hex
BlooBank expects the public key in hexadecimal. Dump the PEM as text and extract both halves:04):
Step 4 — Register the public key
1
Copy the public key hex
The 130-character string starting with
04 from Step 3.2
Send it to your BlooBank integration contact
Share the public key through the channel established during onboarding. Never share the private key — only the public half is needed.
3
Receive your Access Key
BlooBank registers the public key and returns an Access Key. Store it together with your private-key hex in your secret store — both are required to sign requests.
You now have three secrets to manage: the private key (most sensitive), the Access Key (sensitive — identifies you), and the public key (not sensitive, but worth keeping near the others for reference).
Per-environment separation
Use distinct keypairs for sandbox, staging, and production. Never reuse a staging key in production. A compromise in one environment must not cascade.Rotation
Rotate keys every 6–12 months, or immediately if you suspect compromise:- Generate a new keypair on the new environment.
- Send the new public key to BlooBank; you will receive a new Access Key.
- Cut over traffic to the new credential.
- Request revocation of the old credential.
Next
Sign a request
Use the keypair you just generated to sign your first authenticated request.