sfdx auth:jwt:grant
Authorize an org using the JWT flow
Options
Name | Description |
---|---|
--json | Format 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, --setdefaultdevhubusername | Set the authenticated org as the default dev hub org for scratch org creation |
-s, --setdefaultusername | Set the authenticated org as the default username that all commands run against |
-a, --setalias <setalias> | Set an alias for the authenticated org |