Skip to content

Support base64-encoded DER private keys #2133

@sfc-gh-eworoshow

Description

@sfc-gh-eworoshow

What is the current behavior?

Only bytes and RSAPrivateKey types are supported for private keys

What is the desired behavior?

bytes, str (base64-encoded), and RSAPrivateKey types are supported for private keys

How would this improve snowflake-connector-python?

This functionality is useful for passing private keys through environment variables and other configuration mechanisms.

References and other background

No response

Metadata

Metadata

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