es_auth: Set authentication details
Description
Only base url and port and used right now. Will add use or username, password, key, etc. later.Usage
es_auth(es_base = NULL, es_port = NULL, es_user = NULL, es_pwd = NULL,
es_key = NULL, force = FALSE)
Arguments
es_base
(character) Base url
es_user
(character) User name
es_pwd
(character) Password
es_key
(character) API key
force
(logical) Force update
Details
- You can enter your details using the client_id and api_key parameters directly.
- You can execute the function without any inputs. The function then first looks in your
options for the option variables digocean_client_id and digocean_api_key. If they are not found
the function asks you to enter them. You can set force=TRUE to force the function to ask
you for new id and key.
- Set your options using the function
options
. See examples. - Set your options in your .Rprofile file with entries
options(es_base = '')
,options(es_port = '')
,options(es_user = '')
,options(es_pwd = '')
, andoptions(es_key = '')