--- title: snrd auth description: User authentication with Passkeys --- # snrd auth Manage user authentication using WebAuthn/Passkey technology for decentralized identity. ## Usage ```shell snrd auth [command] ``` ## Available Commands | Command | Description | |---------|-------------| | `login` | Login with WebAuthn authentication | | `register` | Register a new identity using WebAuthn | ## Flags Help for auth ## Global Flags Transaction broadcasting mode (sync|async) Specify Chain ID for sending Tx Fees to pay along with transaction (e.g., 10aatom) Name or address of private key with which to sign Adjustment factor to be multiplied against the estimate returned by the tx simulation Gas prices to determine the transaction fee (e.g., 10aatom) Directory for config and data Select keyring's backend The logging format (json|plain) The logging level (trace|debug|info|warn|error|fatal|panic|disabled) Disable colored logs Tendermint RPC interface for this chain Print out full stack trace on errors ## Examples ### Register a new identity ```shell snrd auth register --username alice ``` ### Login with existing identity ```shell snrd auth login --username alice ``` ## See Also - [snrd auth register](./snrd_auth_register.mdx) - Register a new identity using WebAuthn - [snrd auth login](./snrd_auth_login.mdx) - Login with WebAuthn authentication