Arguments
Flags
Backends
local — Local keypair file
Reads a Solana keypair from a JSON file on disk (same format as solana-keygen).
privy — Privy managed wallet
Signs via the Privy server-side wallet API.
turnkey — Turnkey managed wallet
Signs via the Turnkey API using a P256 API key pair.
para — Para managed wallet
Signs via the Para server-side wallet API.
Secrets and the OS keychain
Secrets passed via--secret or entered interactively are saved to the OS keychain (macOS Keychain, GNOME Keyring, etc.) scoped to the user name. On subsequent runs, the CLI reads them back automatically — no environment variable needed.
If the keychain is unavailable (e.g. headless Linux without a keyring daemon), the CLI falls back to the current process environment and prints a warning: