kwil-cli utils authenticate
kwil-cli utils authenticate
Authenticate with a Kwil Gateway using a private key.
Synopsis
Authenticate with a Kwil Gateway using a private key.
The "authenticate" command will prompt you to sign a challenge from the Kwil Gateway. It will store the returned auth cookie in "~/.kwil-cli/auth" for future use.
The Kwil CLI automatically handles authentication and re-authentication, however this tool can be used to manually authenticate to a Kwil Gateway.
kwil-cli utils authenticate [flags]
Examples
# Authenticate to a Kwil Gateway
kwil-cli utils authenticate
Options
-h, --help help for authenticate
Options inherited from parent commands
-Y, --assume-yes Assume yes for all prompts
--chain-id string the expected/intended Kwil Chain ID
--config string the path to the Kwil CLI persistent global settings file (default "/Users/brennanlamey/.kwil-cli/config.json")
--output string the format for command output - either 'text' or 'json' (default "text")
--private-key string the private key of the wallet that will be used for signing
--provider string the Kwil provider RPC endpoint (default "http://127.0.0.1:8484")
-S, --silence Silence logs
SEE ALSO
- kwil-cli utils - Various CLI utility commands.