Skip to content

Cryptographic Keys

We leverage cryptographic keys to create cryptographic message signatures. These signatures help to maintain the authenticity and integrity of HTTP requests within the Pipevest platform.

We currently only support ED25519 key types.

Generate Staging Keys

  1. Private Key
Terminal window
openssl genpkey -algorithm ed25519 -outform PEM -out staging-pipevest-private-ed25519.pem
  1. Public Key
Terminal window
openssl pkey -in staging-pipevest-private-ed25519.pem -pubout -out staging-pipevest-public-ed25519.pub

Copy Staging Public Key

Terminal window
pbcopy < ./staging-pipevest-public-ed25519.pub

Generate Production Keys

  1. Private Key
Terminal window
openssl genpkey -algorithm ed25519 -outform PEM -out production-pipevest-private-ed25519.pem
  1. Public Key
Terminal window
openssl pkey -in production-pipevest-private-ed25519.pem -pubout -out production-pipevest-public-ed25519.pub

Copy Production Public Key

Terminal window
pbcopy < ./production-pipevest-public-ed25519.pub

Send us the public half only (the .pub file — SPKI PEM, the -----BEGIN PUBLIC KEY----- block). Pipevest never asks for, and never stores, a partner private key.

Registration is performed by Pipevest against your credential. Email engineering.support@pipevest.com with:

  • your client ID,
  • the public key,
  • the key id you intend to send as the keyid signature parameter (e.g. staging-pipevest-ed25519), and
  • optionally, the IP addresses your requests will originate from.

The same operation sets all three, so send the IP allowlist at the same time if you want one. Leave it out and requests are accepted from any source IP.

Rotation. Use the same route: send the new public key and key id, and we replace the one on file. A credential holds one active key at a time, so cut over in a single step — sign with the old key until we confirm, then switch. Rotate immediately if a private key is suspected of exposure.