These functions manage the list of known servers:
addServer()
registers a Posit connect server. Once it has been
registered, you can connect to an account on the server using
connectUser()
.
removeServer()
removes a server from the registry.
addServerCertificate()
adds a certificate to a server.
addServer(
url,
name = NULL,
certificate = NULL,
validate = TRUE,
snowflakeConnectionName = NULL,
quiet = FALSE
)
removeServer(name = NULL)
addServerCertificate(name, certificate, quiet = FALSE)
URL for the server. Can be a bare hostname like
connect.mycompany.com
or a url like http://posit.mycompany.com/connect
.
Server name. If omitted, the server hostname is used.
Optional. Either a path to certificate file or a character vector containing the certificate's contents.
Validate that url
actually points to a Posit Connect
server?
Name for the Snowflake connection parameters
stored in connections.toml
.
Suppress output and prompts where possible.
if (FALSE) { # \dontrun{
# register a local server
addServer("http://myrsconnect/", "myserver")
# list servers
servers(local = TRUE)
# connect to an account on the server
connectUser(server = "myserver")
} # }