How to import and export a key

Import a key into the keystore

$ sq key import $KEYFILE

Export a key from the keystore into a file

$ sq key export --cert $FINGERPRINT > $KEYFILE

Read more about importing and exporting keys.