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

Backport of Cache trusted cert values, invalidating when anything changes into release/1.16.x #25463

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #25421 to be assessed for backporting due to the inclusion of the label backport/1.16.x.

The below text is copied from the body of the original PR.


Previously, trusted certs were loaded and parsed on every login call. This
is both slow, and means a copy of the trusted certs is in memory per login.
For highly concurrent use this raises Vault's memory usage unnecessarily.


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/sgm/vault-23962/cert-cache-trusted/precisely-dashing-phoenix branch from b92b187 to 680b493 Compare February 15, 2024 21:48
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Feb 15, 2024
@sgmiller sgmiller added this to the 1.16.0 milestone Feb 15, 2024
@sgmiller sgmiller enabled auto-merge (squash) February 15, 2024 21:53
Copy link

CI Results:
All Go tests succeeded! ✅

Copy link

Build Results:
All builds succeeded! ✅

@sgmiller sgmiller merged commit 506a0cb into release/1.16.x Feb 15, 2024
75 of 77 checks passed
@sgmiller sgmiller deleted the backport/sgm/vault-23962/cert-cache-trusted/precisely-dashing-phoenix branch February 15, 2024 22:10
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.

2 participants