Generate an Ed25519 Key Pair
Run the Example
You can generate an example ED25519 Key Pair inside an ephemeral vault by running the following command from the client crate.
cargo run --example cli generate-key --key-type Ed25519 --vault-path "vault_path" --record-path "record_path"
Expected Output
[2022-06-28T12:52:22Z INFO cli] Generating keys with type Ed25519
[2022-06-28T12:52:22Z INFO cli] Using output location: vault_path=vault_path, record_path=record_path
[2022-06-28T12:52:22Z INFO cli] Key generation successful? true
[2022-06-28T12:52:22Z INFO cli] Creating public key
[2022-06-28T12:52:22Z INFO cli] Public key is "JziUUMhit2Nvds3TXbtzOlJpDEfpbYiTC9qI+8Pp1x0=" (Base64)
Example Code
client/examples/cli/main.rs
loading...