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

api/plugins: add tls-server-name arg for plugin registration #23549

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

jasonodonnell
Copy link
Contributor

If Vault is running in an ephemeral environment where nodes are often replaced and are randomly assigned IP addresses, it can be difficult to have IP SANs in server certs. By adding a TLS server name configurable we allow operators to register a plugin and specify the acceptable SAN for TLS verification.

@jasonodonnell jasonodonnell added this to the 1.15.1 milestone Oct 6, 2023
@jasonodonnell jasonodonnell requested a review from a team October 6, 2023 14:49
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Oct 6, 2023
@github-actions
Copy link

github-actions bot commented Oct 6, 2023

Build Results:
All builds succeeded! ✅

@github-actions
Copy link

github-actions bot commented Oct 6, 2023

CI Results:
All Go tests succeeded! ✅

@@ -62,6 +63,7 @@ func (f *PluginAPIClientMeta) FlagSet() *flag.FlagSet {
fs.StringVar(&f.flagCAPath, "ca-path", "", "")
fs.StringVar(&f.flagClientCert, "client-cert", "", "")
fs.StringVar(&f.flagClientKey, "client-key", "", "")
fs.StringVar(&f.flagServerName, "tls-server-name", "", "")
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we update any documentation for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had trouble finding any existing documentation that called these out. Do you happen to know if any exist?

Copy link
Contributor

Choose a reason for hiding this comment

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

I didn't find anything either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants