- Single line — no line breaks
- No PEM headers or footers — strip the
-----BEGIN PUBLIC KEY-----and-----END PUBLIC KEY-----lines
Using Bash
This approach works for both RSA and ECC private keys. Run the appropriate command depending on your key type. ECC private key: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.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.