If the device does not have an environment variable, creates one for the session. This can be saved within the .Renviron file to reduce new device alerts.
setup_op( domain, email, masterpassword = rstudioapi::askForPassword("Please enter your Master Password"), secretkey = rstudioapi::askForPassword("Please enter your Secret Key") )
| domain | Full domain URL of your vault  | 
    
|---|---|
Email address used on 1Password  | 
    |
| masterpassword | Used to unlock the vault  | 
    
| secretkey | Used for enabling 1Password on new devices  | 
    
1Password session object, to be used for interacting with vault
Saves a token as an environment variable for the session as OP_SESSION_(subdomain)