Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support for Base64 String Private key #341

Merged
merged 10 commits into from
Apr 3, 2025

Conversation

kronnk
Copy link
Contributor

@kronnk kronnk commented Apr 3, 2025

This pull request includes significant updates to the Meltano configuration and enhancements to the Snowflake connector. The changes improve configuration management and add new functionality for handling private keys.

Meltano Configuration Updates:

  • Added default_environment and environments to specify deployment environments. (meltano.yml: meltano.ymlL3-R114)
  • Updated target-snowflake loader settings to include new validation groups and reorganized settings for better readability. (meltano.yml: meltano.ymlL3-R114)

Snowflake Connector Enhancements:

@edgarrmondragon edgarrmondragon changed the title Support for Base64 String Private key feat: Support for Base64 String Private key Apr 3, 2025
Copy link
Member

@edgarrmondragon edgarrmondragon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kronnk, this is a very comprehensive change!

Just some minor comments.

key_content = self.config["private_key"].encode()

private_key = self.config["private_key"]
self.logger.debug("Reading private key from config: %s", private_key)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a risk that will leak the private key?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, i should have removed that.

@edgarrmondragon
Copy link
Member

Thanks!

@edgarrmondragon edgarrmondragon merged commit 991915f into MeltanoLabs:main Apr 3, 2025
2 of 9 checks passed
@kronnk kronnk deleted the feat/pk_base64 branch April 3, 2025 20:38
@edgarrmondragon
Copy link
Member

Something I missed: we should probably update the private_key field description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants