connect_service_account_token() and connect_workload_token() now prefer
to read the content session token from the file pointed to by the
CONNECT_CONTENT_SESSION_TOKEN_FILE environment variable, falling back to
the CONNECT_CONTENT_SESSION_TOKEN environment variable. This helps
long-running processes maintain fresh credentials on Connect 2026.05.0 and
later (#10).New connect_service_account_token() and has_service_account_token()
functions allow looking up credentials from Connect-managed service accounts
(or service principals).
New connect_workload_token() and has_workload_token() functions allow
manual retrieval of workload identity tokens on a Connect server.
Error messages for misuse of connect_viewer_token() outside Connect have
improved.
connectcreds is is a toolkit for making use of credentials
mediated by Posit Connect. It handles the details of communicating with
Connect's API correctly, OAuth token caching, and refresh behaviour.