keystore create
Create a new encrypted keystore with a generated keypair.
Creates a new random keypair, encrypts it with a password, and stores it as a local keystore entry.
Usage
namera keystore create [--alias <name>] [--password <password>]Aliases:
- Group alias:
namera k - Command alias:
create->c
Example: namera k c
Flags
--alias,-a: Keystore alias to create--password,-p: Password used to encrypt the keystore
Global flags:
--params: Raw JSON parameters for agent-driven execution--output,-o:pretty,json, orndjson--quite,-q: Suppress output
If you omit --alias or --password, the CLI will prompt you interactively.
Params mode (agents)
Use --params with the JSON schema for the command:
namera schema keystore.createExpected shape:
{
"alias": "my-wallet",
"password": "my-password"
}Output
On success, the command returns:
alias: Keystore aliasaddress: Derived addresspath: Filesystem path to the keystore
Examples
Interactive (prompt for alias and password):
namera keystore createPartial flags (prompt for password):
namera keystore create --alias my-walletFull flags:
namera keystore create -a my-wallet -p my-passwordParams mode (agents):
namera keystore create --params '{"alias":"my-wallet","password":"my-password"}'Short aliases:
namera k c -a my-wallet -p my-passwordSchema lookup:
namera schema keystore.create