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

[FLINK-36805][cdc-common] Add ConfigShade interface to support encryption of sensitive configuration items and provide a base64 encoding implementation #3829

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Jzjsnow
Copy link
Contributor

@Jzjsnow Jzjsnow commented Jan 2, 2025

When Flink CDC uses pipeline to submit jobs, we need to set configuration items in plaintext in the definition file, including sensitive configurations such as passwords for connecting to source and sink components (e.g., mysql, doris, etc.), which may be a security risk. To avoid the use of plaintext passwords, we provide an interface (ConfigShade) by implementing which developers can customize the decryption method themselves.

We also provide an implementation for base64 encoding first, not only as an example implementation of the interface, but also to solve the current problem of plaintext passwords.

@Jzjsnow Jzjsnow changed the title [FLINK-36805][cdc-common] Add interface to support encryption of sensitive configuration items and provide base64 encoding implementation [FLINK-36805][cdc-common] Add interface to support encryption of sensitive configuration items and provide a base64 encoding implementation Jan 2, 2025
@Jzjsnow Jzjsnow changed the title [FLINK-36805][cdc-common] Add interface to support encryption of sensitive configuration items and provide a base64 encoding implementation [FLINK-36805][cdc-common] Add ConfigShade interface to support encryption of sensitive configuration items and provide a base64 encoding implementation Jan 2, 2025
@Jzjsnow Jzjsnow force-pushed the master-Add_support_for_configshade branch from 2ddadf5 to e313a3e Compare January 3, 2025 07:00
…itive configuration items and provide base64 encoding implementation
@Jzjsnow Jzjsnow force-pushed the master-Add_support_for_configshade branch from e313a3e to 271f267 Compare January 6, 2025 07:55
…of sensitive configuration items and provide base64 encoding implementation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant