-
Notifications
You must be signed in to change notification settings - Fork 573
SNOW-3995071: PAT to support path expansion #3006
Open
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