Skip to content

SNOW-1858462: Support authentication via private_key_base64 #2121

@rd-andreas-tollkoetter

Description

@rd-andreas-tollkoetter

What is the current behavior?

Not too long ago, the JDBC driver enabled a parameter called private_key_base64 (https://docs.snowflake.com/en/developer-guide/jdbc/jdbc-parameters#private-key-base64) to pass a key directly via parameter, not requiring a PEM file. As far as I can tell from experimenting and looking at the code, this isn't supported by snowflake-connector-python in any way.

What is the desired behavior?

Just like passing private_key to the connector right now, passing private_key_base64 should be a supported option.

How would this improve snowflake-connector-python?

Feature parity (at least in this aspect) with JDBC; reduces the initial barrier for setting up a connection.

References and other background

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurestatus-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