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

Add MutualTLSCredentials as a placeholder Credentials type #237

Open
rohitsanj opened this issue Dec 19, 2024 · 0 comments
Open

Add MutualTLSCredentials as a placeholder Credentials type #237

rohitsanj opened this issue Dec 19, 2024 · 0 comments
Assignees

Comments

@rohitsanj
Copy link
Contributor

rohitsanj commented Dec 19, 2024

Followup from #201

Implement a new Credentials type called MutualTLSCredentials containing just a single field derived that is always set to true.

The SSL configuration for using mTLS will still need to be passed in the kafka_cluster.ssl (or schema_registry.ssl) object.

The direct connection form in vscode should expose the same fields as what TLSConfig provides if a user selects mTLS as auth mechanism, however, the inputs will be passed in the ConnectionSpec's kafka_cluster.ssl (or schema_registry.ssl) field. The credentials field will perhaps need to be set to just { "derived": true}, this serves as the creds type discriminator (to determine what creds type we're dealing with dynamically based on the fields present) in the Quarkus deserialization logic.

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

No branches or pull requests

1 participant