setup_user_pass: Initial setup of secret vault with username and password...

Description Usage Arguments

Description

If you need to update a username/password please see: 'update_user_pass“

Usage

1
2
3
4
setup_user_pass(username = unname(Sys.info()["user"]), password = NULL,
  public_key = "~/.ssh/id_rsa.pub",
  vault = "/home/sdal/projects/sdal/vault",
  secret_name = unname(Sys.info()["user"]), verbose = FALSE)

Arguments

username:

string, the username, defaults to the user of the current R session

password:

string, defaults to NULL which will prompt you for your password

public_key:

string, the location of the public key, defaults to '~/.ssh/id_rsa.pub'

vault:

string, location of the vault, defaults to '/home/sdal/projects/sdal/vault'

secret_name:

string, the name of the secret to be stored, defaults to your username


bi-sdal/sdalr documentation built on May 12, 2019, 8:29 p.m.