R/credential.R
cred_user_pass.RdCreate a new plain-text username and password credential object
cred_user_pass(username = NULL, password = NULL)The username of the credential
The password of the credential. If getPass is installed
and the only input is username, getPass::getPass() will be
called to allow for interactive and obfuscated interactive
input of the password.
A list of class cred_user_pass with entries:
The username of the credential
The password of the credential
Other git credential functions:
cred_env(),
cred_ssh_key(),
cred_token()
if (FALSE) { # \dontrun{
## Create a plain-text username and password credential object
cred_user_pass("Random Developer", "SecretPassword")
} # }