Login to Sandbox

This command logs in to a specified sandbox org using the authentication details of the user who requested the creation of sandbox

Usage

$ sfp sandbox:login -n <string> [flags]
$ sfp org:login:sandbox -n <string> [flags]

Flags

FlagRequiredDescription
-v, --targetdevhubusername=<value>NoUsername or alias of the production org
-n, --name=<value>YesName of the sandbox to log in to (max 10 characters)
-a, --alias=<value>NoAlias to set for the authenticated sandbox org
-w, --write-fileNoWrite login details to a file (org-info.json)
--jsonNoFormat output as JSON
--loglevel=<option>NoLogging level for this command invocation

Examples

$ sfp sandbox:login --name mySandbox1 -v myDevHub
$ sfp sandbox:login --name mySandbox1 -v myDevHub --alias mySandboxAlias --write-file

On this page