gitcreds_cache_envvar: Environment variable to cache the password for a URL

gitcreds_cache_envvarR Documentation

Environment variable to cache the password for a URL

Description

gitcreds_get() caches credentials in environment variables. gitcreds_cache_envvar() calculates the environment variaable name that is used as the cache, for a URL.

Usage

gitcreds_cache_envvar(url)

Arguments

url

Character vector of URLs, they may contain user names and paths as well. See details below.

Value

Character vector of environment variables.

See Also

gitcreds_get().

Examples

gitcreds_cache_envvar("https://github.com")
gitcreds_cache_envvar("https://api.github.com/path/to/endpoint")
gitcreds_cache_envvar("https://jane@github.com")
gitcreds_cache_envvar("https://another.site.github.com")

gitcreds documentation built on Sept. 8, 2022, 5:08 p.m.