Skip to content

Support Snowflake oauth tokens #687

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Support Snowflake oauth tokens #687

wants to merge 3 commits into from

Conversation

edavidaja
Copy link
Collaborator

@edavidaja edavidaja commented Jun 26, 2025

Intent

Add support for oauth authenticator

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change

Approach

Snowflake CLI does not return the token in snow connection list when the oauth authenticator is in use.
Use the snowflake connector for python to obtain the parameters instead.

Automated Tests

updated existing.

Directions for Reviewers

on a workbench session with managed credentials enabled:

uvx --from 'git+https://github.com/posit-dev/rsconnect-python@snowauth[snowflake]' rsconnect details --server https://bf2oiaib-duloftf-posit-software-pbc-dev.snowflakecomputing.app/ --snowflake-connection-name workbench

Checklist

  • I have updated CHANGELOG.md to cover notable changes.
  • I have updated all related GitHub issues to reflect their current state.

@edavidaja edavidaja requested a review from christierney June 26, 2025 21:27
Copy link

PR Preview Action v1.6.1

🚀 View preview at
https://posit-dev.github.io/rsconnect-python/pr-preview/pr-687/

Built to branch gh-pages at 2025-06-27 05:31 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
5142 3992 78% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
rsconnect/api.py 77% 🟢
rsconnect/snowflake.py 86% 🟢
TOTAL 81% 🟢

updated for commit: 91e00e8 by action🐍

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