sbg_get_env: Set authentication environment variables for Seven Bridges...

Description Usage Arguments Value Examples

View source: R/class-auth-utils.R

Description

Set authentication environment variables for Seven Bridges API

Usage

1

Arguments

x

Name of the system environment variable

Value

value of the environment variable

Examples

1
2
3
4
5
6
7
# set and get two environment variables for CGC
token <- "your_token"
## Not run: 
sbg_set_env("https://cgc-api.sbgenomics.com/v2", token)
sbg_get_env("SB_API_ENDPOINT")
sbg_get_env("SB_AUTH_TOKEN")
## End(Not run)

sevenbridges documentation built on March 25, 2021, 6 p.m.