posit-dev / posit-dev/snowflakeauth

Support PAT authentication

Open
#45 0 comments 0 reactions 1 assignee View on GitHub

@atheriel is already working on this.

Since Sep 15, 2026.

Dominant language
R
Stars
1
Forks
0
Avg merge
37m
Merged PRs (30d)
1

Description

snowflake_credentials() has no branch for programmatic access tokens, so PATs can't be used at all today.

Let's match the Python connector's support by adding the PROGRAMMATIC_ACCESS_TOKEN authenticator:

snowflake_connection(account = ..., token = <pat>,
                     authenticator = "PROGRAMMATIC_ACCESS_TOKEN")

returning:

Authorization: Bearer <pat>
X-Snowflake-Authorization-Token-Type: PROGRAMMATIC_ACCESS_TOKEN

Out of scope: env var support. There's no Snowflake-standard spelling for a PAT env var, so that belongs in calling packages.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.