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

backend: add kafka connect secrets API #1115

Merged
merged 6 commits into from
Feb 15, 2024
Merged

Conversation

bojand
Copy link
Member

@bojand bojand commented Feb 13, 2024

No description provided.

];

// The connector name.
string name = 2 [
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should add a relative strict character validation here (i.e. just alphanumeric and dash allowed?). If we allow / etc we would allow users to escape the secretstore "jail" in AWS (e.g. /secrets/connectors/redpanda/{secretName} they could use name = /i-dont/want-to/be/stored/in/your/directory)

Copy link
Contributor

Choose a reason for hiding this comment

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

I assume we also need to limit the length of all inputs (cluster name, connector secret name etc)

@bojand bojand requested a review from sago2k8 February 13, 2024 14:45
@bojand bojand merged commit 84d2c8b into master Feb 15, 2024
7 checks passed
@bojand bojand deleted the backend/secrets_connect_api branch February 15, 2024 16:47
@bojand bojand restored the backend/secrets_connect_api branch April 12, 2024 00:25
@bojand bojand deleted the backend/secrets_connect_api branch April 12, 2024 00:44
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