Skip to content

Navigation Menu

Sign in
Sign up

SNOW-3995071: PAT to support path expansion #3006

Open
Labels
feature status-triage_doneInitial triage done, will be further handled by the driver team

Description

What is the current behavior?

token_file_path = "~/.snowflake/pat.token"

Error: [Errno 2] No such file or directory: '~/.snowflake/pat.token'

What is the desired behavior?

Allow token_file_path to support tilde shortened home directory, similar to private_key_file.

How would this improve snowflake-connector-python?

It will allow re-using home shortened paths within connections.toml when using devcontainers in docker locally, such as a map (bind mount) ~/.snowflake to the containers internal user /root/.snowflake.

References and other background

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature status-triage_doneInitial triage done, will be further handled by the driver team

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    AltStyle によって変換されたページ (->オリジナル) /