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

[configtls] Add Validate method on ClientConfig type #11825

Open
khushijain21 opened this issue Dec 9, 2024 · 0 comments
Open

[configtls] Add Validate method on ClientConfig type #11825

khushijain21 opened this issue Dec 9, 2024 · 0 comments

Comments

@khushijain21
Copy link

khushijain21 commented Dec 9, 2024

Is your feature request related to a problem? Please describe.

According to this document, if insecure is false, then cert_pem and key_pem are required paramaters. We should have a Validate method on ClientConfig for the users of this API to validate TLS configuration.

Describe the solution you'd like

A Validate method to verify required paramaters are set given insecure is set to true or false

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