Skip to content

Private key input as base64 string #335

@kronnk

Description

@kronnk

I was thinking of making a change to the snowflake connector and transforming it so that the private key is required to be in base 64. I am currently working with private keys and they look awful when an env is in full key format.
A one liner base64 key looks much cleaner.

So instead of


TARGET_SNOWFLAKE_PRIVATE_KEY = "
--------BEGIN PRIVATE KEY-------
asdasdasdfsdhdfkjahsflkasaskljdhfl
ajsdfbjhsahdbfgajlsdhhlkdfhklasdhf
....
kadhjfklhajsdfhjlkjdasjkhfkhajkldhf
akldjhföjkjadöklfjdaölsjölöldakjföljd
----------END PRIVATE KEY------

it would look like this

TARGET_SNOWFLAKE_PRIVATE_KEY = "asaldjasljd alöskdaöksdöalk lakjsdlköasdjl alksjdjlkajsdkj"

What are your thoughts on this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions