Skip to main content
Never share your private key with anyone — including Zodia. Only your public key should be shared. If you believe your private key has been compromised, generate a new key pair immediately and contact customerservice@zodia.io.
When onboarding with Zodia, you need to provide your public key so it can be registered on the platform. Zodia requires the public key in a specific format:
  • Single line — no line breaks
  • No PEM headers or footers — strip the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- lines
This applies to both your company RSA public key and each user ECC public key. A correctly formatted key looks like this:

Using Bash

This approach works for both RSA and ECC private keys. Run the appropriate command depending on your key type. ECC private key:
RSA private key:
To write the output directly to a file:

Using Python

This script works for both RSA and ECC private keys. It reads your private key file and prints the public key as a single line with no PEM headers.
Run it with:
Install the required library if needed:

What to do with your public key

Once you have the single-line public key, share it with Zodia as part of your onboarding: See Authentication for a full overview of the key pairs required.