1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/credential.R
\name{cred_user_pass}
\alias{cred_user_pass}
\title{Create a new plain-text username and password credential object}
\usage{
cred_user_pass(username = NULL, password = NULL)
}
\arguments{
\item{username}{The username of the credential}
\item{password}{The password of the credential. If getPass is installed
and the only input is username, \code{getPass::getPass()} will be
called to allow for interactive and obfuscated interactive
input of the password.}
}
\value{
A list of class \code{cred_user_pass} with entries:
\describe{
\item{username}{
The username of the credential
}
\item{password}{
The password of the credential
}
}
}
\description{
Create a new plain-text username and password credential object
}
\examples{
\dontrun{
## Create a plain-text username and password credential object
cred_user_pass("Random Developer", "SecretPassword")
}
}
\seealso{
Other git credential functions:
\code{\link{cred_env}()},
\code{\link{cred_ssh_key}()},
\code{\link{cred_token}()}
}
\concept{git credential functions}
|