This function is useful within another function. It check whether a username or password has been provided by the user and, if not, checks if they were stored via `glamr` or prompts user to provide credentials through interactive prompt.
Usage
lazy_secrets(service = c("datim", "pano", "pdap", "s3"), username, password)
Examples
if (FALSE) { # \dontrun{
accnt <- lazy_secrets("datim", username = username, password = password)
datim_dimensions(accnt$username, accnt$password)
} # }