Creates a connection to Posit Connect using the server URL and an api key.
connect(
server = Sys.getenv("CONNECT_SERVER", NA_character_),
api_key = Sys.getenv("CONNECT_API_KEY", NA_character_)
)
The server URL for accessing Posit Connect. Defaults to environment variable CONNECT_SERVER
The API key to authenticate with Posit Connect. Defaults to environment variable CONNECT_API_KEY
An Client object