keystore decrypt
Decrypt a keystore and print key material.
Decrypts a local keystore and prints the derived keys. This command outputs sensitive material.
Usage
namera keystore decrypt [--alias <name>] [--password <password>]Aliases:
- Group alias:
namera k - Command alias:
decrypt->d
Flags
--alias,-a: Keystore alias to decrypt--password,-p: Password used to decrypt the keystore
Global flags:
--params: Raw JSON parameters for agent-driven execution--output,-o:pretty,json, orndjson--quite,-q: Suppress output
If a value is missing, the CLI prompts you. If --alias is missing, you select a keystore.
Params mode (agents)
Use --params with the JSON schema for the command:
namera schema keystore.decryptExpected shape:
{
"alias": "my-wallet",
"password": "my-password"
}Output
On success, the command returns:
alias: Keystore aliasaddress: Derived addresspublicKey: Public keyprivateKey: Private key (sensitive)
Use --output json for machine parsing and consider --quite if you only need the exit status.
Examples
Interactive (prompt for alias and password):
namera keystore decryptPartial flags (prompt for password):
namera keystore decrypt --alias my-walletFull flags:
namera keystore decrypt -a my-wallet -p my-passwordParams mode (agents):
namera keystore decrypt --params '{"alias":"my-wallet","password":"my-password"}'Short aliases:
namera k d -a my-wallet -p my-passwordSchema lookup:
namera schema keystore.decrypt