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

Vault support force_default_lease_duration #2005

Open
1 task done
phuhung273 opened this issue Nov 10, 2024 · 0 comments
Open
1 task done

Vault support force_default_lease_duration #2005

phuhung273 opened this issue Nov 10, 2024 · 0 comments

Comments

@phuhung273
Copy link

phuhung273 commented Nov 10, 2024

Description

  • Vault support parameter force_default_lease_duration

Motivation

  • Vault agent injector doesn't react to manual secret rotation. Until there is an official way, we want it to check more often. No change to actual secret on vault server side
  • This change can help simplifying rotation testing

Expected behavior

vault {
    force_default_lease_duration = true
    default_lease_duration = "60s"
}

if base <= 0 {
base = int(VaultDefaultLeaseDuration.Seconds())
}

Change this FROM

if base <= 0 {

TO

if base <= 0 || force {

References

Are there any other GitHub issues (open or closed) that should
be linked here? For example:

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