sfdx auth:jwt:grant

Authorize an org using the JWT flow

Options

NameDescription
--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
-u, --username <username>Authentication username
-f, --jwtkeyfile <jwtkeyfile>Path to a file containing the private key
-i, --clientid <clientid>OAuth client ID (sometimes called the consumer key)
-r, --instanceurl <instanceurl>The login URL of the instance the org lives on
-d, --setdefaultdevhubusernameSet the authenticated org as the default dev hub org for scratch org creation
-s, --setdefaultusernameSet the authenticated org as the default username that all commands run against
-a, --setalias <setalias>Set an alias for the authenticated org