Change key formats

This command changes a key that was created outside of the tool (like the Hedera portal) to a .pem file for the application to accept. You will need a json file that contains your private and public key. The private key .pem file and public key .pub file that is generated will be in the same location as the .json file.

Sample .json file
{
    "operator": {
        "publicKey": "enter public key",
        "privateKey": "enter private key"
    }

}

Command

convert-key

ck

Argument

Description

Required/Optional

-k

The path to the .json file with the private and public key

Required

-p

Option to disable the password policy check for a minimum of a 10 character password

Optional

bash launch.sh ck

Example

bash launch.sh ck -k </path/to/key/jsonKey.json> 

Last updated