gitcreds_cache_envvar: Environment variable to cache the password for a URL

Description Usage Arguments Value See Also Examples

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

1

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

1
2
3
4
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 Dec. 4, 2020, 5:07 p.m.