inputPwd: Input password key

Description Usage Arguments Value Author(s) See Also Examples

Description

Input a password phrase. It returns nothing unless you assign the output to a variable.

Usage

1
2
inputPwd(prompt = NULL, caption = NULL, encrypt = TRUE,
  gui = c("Rstudioapi", "Gwidgets"), gen_pem = TRUE, ...)

Arguments

prompt

character, the prompt label of the GUI window.

caption

character, the caption of the GUI window.

encrypt

logical, if the password will be encrypted (a raw vector). Default TRUE.

gui

'Rstudioapi', or 'Gwidgets', default 'Rstudioapi'. If 'Rstudioapi' and Rstudio version >= 1.1.419, then call askForPassword, else use a GUI wizard with gWidget2.

gen_pem

logical, if generate a acckey.pem file to store the cypher key of the password in under Sys.getenv('HOME'). Default TRUE.

...

other arguments.

Value

invisible

Author(s)

Yiying Wang, wangy@aetna.com

See Also

askForPassword askForSecret You can also use getPwd directly

Examples

1
2
3
4
## Not run: 
inputPwd(prompt="Input the db key", caption="Password")

## End(Not run)

madlogos/aseshms documentation built on May 21, 2019, 11:03 a.m.