Generating Public Keys
In order for us to provide you access to one of our APIs, you must generate key pair and share only the public keys with us.
Based on the public key you provide, we will generate an ID for you. Together with your private key, this ID will be used to generate a token that allows you to access the API.
A token generation example can be found here: https://www.developer.circlek.com/how-to-generate-tokens-and-make-api-requests-to-circle-k-api
Key Pair Generation Script
Use the following Bash script to generate elliptic curve (EC) key:
Instructions for Running the Script:
Copy the script into a file, for example, generate_keys.sh.
Run the script in a bash terminal:
- chmod +x generate_keys.sh
- ./generate_keys.sh
After running the script, you will have the following files:
ECkey-private.pem
ECkey-public.pem
Public key should be shared with us, while private key, together with the Okta ID, will be used to generate an Okta token ( https://www.developer.circlek.com/how-to-generate-tokens-and-make-api-requests-to-circle-k-api )