Skip to main content

snrd auth

Manage user authentication using WebAuthn/Passkey technology for decentralized identity.

Usage

snrd auth [command]

Available Commands

CommandDescription
loginLogin with WebAuthn authentication
registerRegister a new identity using WebAuthn

Flags

help
boolean
Help for auth

Global Flags

broadcast-mode
string
default:"sync"
Transaction broadcasting mode (sync|async)
chain-id
string
Specify Chain ID for sending Tx
fees
string
Fees to pay along with transaction (e.g., 10aatom)
from
string
Name or address of private key with which to sign
gas-adjustment
float
default:"1"
Adjustment factor to be multiplied against the estimate returned by the tx simulation
gas-prices
string
Gas prices to determine the transaction fee (e.g., 10aatom)
home
string
default:"~/.sonr"
Directory for config and data
keyring-backend
string
default:"os"
Select keyring’s backend
log_format
string
default:"plain"
The logging format (json|plain)
log_level
string
default:"info"
The logging level (trace|debug|info|warn|error|fatal|panic|disabled)
log_no_color
boolean
Disable colored logs
node
string
default:"tcp://localhost:26657"
Tendermint RPC interface for this chain
trace
boolean
Print out full stack trace on errors

Examples

Register a new identity

snrd auth register --username alice

Login with existing identity

snrd auth login --username alice

See Also

I