posit-dev / posit-dev/snowflakeauth
Support PAT authentication
Open
@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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.