secp256k1 curve. You generate the keypair locally; only the public half ever leaves your environment.
Curve choice.
secp256k1 is the default and the curve used in every command on this page, but the signing curve is part of your onboarding agreement — it is registered together with your public key. If Bloobank assigned a different curve, substitute it in the commands below; everything else stays identical. Mismatched curves fail signature verification before any other check.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 — Export the public key (PEM or hex)
Bloobank accepts the public key in either format — a standard PEM file or a flat hexadecimal string. Pick whichever fits your tooling; both register the same key.Option A — PEM (one command)
Derive the public key straight from the private key:publicKey.pem:
Option B — Flat hex
Dump the PEM as text and extract both halves:04):
Step 4 — Register the public key
1
Copy the public key
Either the
publicKey.pem file contents (Option A) or the 130-character hex string starting with 04 (Option B) — both formats are accepted.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 (PEM or hex — whichever your signing client consumes) 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.