Skip to content

Snowflake key-pair authentication and key file #923

@jjimenezRe

Description

@jjimenezRe

I'm using the Snowflake ODBC Driver for Linux with the SNOWFLAKE_JWT authenticator.

This authenticator has a parameter called PRIV_KEY_FILE, which I use to point to the file containing the private key, inside my dbConnect() calls.

From what I understand its not possible to pass key pair itself directly to dbConnect() , just the file name containing the key.

Since I'm pulling the key pair from a vault and prefer not to write the key to a file, I tried using the attribute called SQL_SF_CONN_ATTR_PRIV_KEY .

I see it's not currently supported after checking the attributes listed here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions