Skip to main content
The Access Protocol uses an asymmetric keypair on the 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

This writes privateKey.pem to your working directory.
The private key is your secret. Never commit it, never paste it into chat, never send it — not even to BlooBank. Store it in a secret manager (AWS Secrets Manager, GCP Secret Manager, Azure Key Vault, HashiCorp Vault, Doppler) or an encrypted environment variable. Add *.pem and .env to .gitignore from the start.

Step 3 — Extract the key pair in hex

BlooBank expects the public key in hexadecimal. Dump the PEM as text and extract both halves:
Sample output:
Strip colons and newlines to get flat hex strings:
Example public key (valid format — 130 hex chars, uncompressed, leading 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:
  1. Generate a new keypair on the new environment.
  2. Send the new public key to BlooBank; you will receive a new Access Key.
  3. Cut over traffic to the new credential.
  4. Request revocation of the old credential.
There is no in-place key rotation — every rotation produces a new Access Key. This is intentional: revocation is unambiguous.

Next

Sign a request

Use the keypair you just generated to sign your first authenticated request.