Skip to main content
Version: v7.1.0


okp4d keys export

Export private keys


Export a private key from the local keyring in ASCII-armored encrypted format.

When both the --unarmored-hex and --unsafe flags are selected, cryptographic private key material is exported in an INSECURE fashion that is designed to allow users to import their keys in hot wallets. This feature is for advanced users only that are confident about how to handle private keys work and are FULLY AWARE OF THE RISKS. If you are unsure, you may want to do some research and export your keys in ASCII-armored encrypted format.

okp4d keys export <name> [flags]


  -h, --help            help for export
--unarmored-hex Export unarmored hex privkey. Requires --unsafe.
--unsafe Enable unsafe operations. This flag must be switched on along with all unsafe operation-specific options.

Options inherited from parent commands

      --keyring-backend string   Select keyring's backend (os|file|kwallet|pass|test|memory) (default "test")
--keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used
--output string Output format (text|json) (default "text")