Stores the credentials to use when logging onto a repository.
Usage: scm login | -r/--repository-uri <arg> (-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows) [-n/--nickname <arg>] [-c/--cache] [-g/--generatePasswordFile <arg>] [-o/--overwrite] |
Options:
-r, --repository-uri <arg> | The URI that specifies the location of the repository. |
-u, --username <arg> | The user name for the repository. |
-P, --password <arg> | The password for the repository. |
--password-file <arg> | File that contains the user's password. |
--certificate <arg> | The file that contains the user's login certificate. |
--smartCard | Use the connected smart card for authentication. |
--kerberos | Authenticate with Windows user credentials using Kerberos/SPNeGO. |
--integratedWindows | Authenticate with Windows user credentials using Integrated Windows Authentication. |
-n, --nickname <arg> | The nickname of the repository. |
-c, --cache | Caches the password on prompt. |
-g, --generatePasswordFile <arg> | Generates encrypted password file at specified file path. |
-o, --overwrite | Overwrites password file if it already exists. |
Example