Skip to content

Call Connect Cloud client ID and secret client credentials - #869

Merged
vrsarah merged 2 commits into
connect-cloud-sso-credentials-errorfrom
connect-cloud-client-credentials-wording
Oct 15, 2026
Merged

vrsarah merged 2 commits into
connect-cloud-sso-credentials-errorfrom
connect-cloud-client-credentials-wording

Conversation

@vrsarah

@vrsarah vrsarah commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Intent

The Posit Connect Cloud credentials passed with --client-id and --client-secret are OAuth client credentials created at login.posit.cloud/identity/credentials. They act as the user who created them, with that user's roles. The CLI called them a "service account" credential, which suggests a separate identity. This renames them to "client credentials", matching the R package (connectCloudClientCredentials()).

Follow-up to the wording discussion in #868.

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change

Approach

Changes user-facing text only: README, docs/deploying.md, --client-id/--client-secret help, error messages, and the rsconnect list label (Service account client ID: is now Client ID:), plus the matching comments and docstrings. Internal names such as the service_account variable are unchanged. service_account_name in models.py is a Posit Connect content field and is not related.

Automated Tests

Updated the tests that assert on the changed messages and the rsconnect list output, and renamed tests that referred to service accounts. Full suite passes.

Directions for Reviewers

Run rsconnect add --help and rsconnect list with a saved Connect Cloud entry that has a client ID.

Checklist

  • I have updated CHANGELOG.md to cover notable changes. (Wording only; no changelog entry.)
  • I have updated all related GitHub issues to reflect their current state.
  • I have run the rsconnect-python-tests-at-night workflow in Connect against this feature branch.

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-10-15 22:28 UTC

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
10750 9382 87% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
rsconnect/api.py 88% 🟢
rsconnect/connect_cloud.py 98% 🟢
rsconnect/main.py 84% 🟢
rsconnect/metadata.py 89% 🟢
TOTAL 90% 🟢

updated for commit: b28d647 by action🐍

@samperman samperman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice improvement. I blame myself 😆

@vrsarah
vrsarah changed the base branch from main to connect-cloud-sso-credentials-error October 15, 2026 22:15
@vrsarah
vrsarah changed the base branch from connect-cloud-sso-credentials-error to main October 15, 2026 22:15
@vrsarah
vrsarah changed the base branch from main to connect-cloud-sso-credentials-error October 15, 2026 22:21
@vrsarah
vrsarah merged commit 7c3d3f4 into connect-cloud-sso-credentials-error Oct 15, 2026
27 checks passed
@vrsarah
vrsarah deleted the connect-cloud-client-credentials-wording branch October 15, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants