Prints, for every credential profile on this machine, which of the three places the package reads a host and a token would actually be taken from: an environment variable, the system credential store, or the profile configuration file. It never prints a token, and never a hash, a prefix or a length of one.
Value
A tibble, invisibly, with one row per profile: profile, host,
host_from ("env", "config" or "none"), auth_from ("env",
"keyring" or "none"), shadowed (an environment variable is hiding a
stored token), renviron_line (an .Renviron file defines this
profile) and renviron_file. No column holds a token.
Details
Use it when a call fails with credentials that look correct, and when two
profiles might be confused. The report starts with the versions of
jatosr, keyring, R and the operating system (and the commit, for a
package installed from GitHub), so that it can be pasted into a bug
report as it is, once the host is replaced if the server is private.
An environment variable wins over the credential store. When a user or
project .Renviron file defines the variables of a profile, the report
names the file and the lines, with the token's value hidden, because a
token stored with jatos_set_credentials() is not used while such a line
sets the variable. The file is only read, never edited.
