connectSPCSUser: Register account on Posit Connect in Snowpark Container...

View source: R/accounts.R

connectSPCSUserR Documentation

Register account on Posit Connect in Snowpark Container Services

Description

connectSPCSUser() connects your Posit Connect account to the rsconnect package so it can deploy and manage applications on your behalf. Configure a connections.toml file in the appropriate location.

SPCS deployments require both Snowflake authentication (via the connection name) and a Posit Connect API key. The Snowflake token provides proxied authentication to reach the Connect server, while the API key identifies the user to Connect itself.

Supported servers: Posit Connect servers

Usage

connectSPCSUser(
  account = NULL,
  server = NULL,
  apiKey,
  snowflakeConnectionName,
  quiet = FALSE
)

Arguments

account

A name for the account to connect.

server

The server to connect to.

apiKey

The API key used to authenticate the user

snowflakeConnectionName

Name for the Snowflake connection parameters stored in connections.toml.

quiet

Whether or not to show messages and prompts while connecting the account.


rsconnect documentation built on Nov. 5, 2025, 5:29 p.m.