-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Max versions in the UI does not load default from secrets/config
#8656
Comments
Hi! Thanks for the report! Can you please confirm that the issue lies within Vault and not Terraform by doing a:
and confirming that you're seeing the |
Sure thing! It does show that max_versions is set to 100 |
Thank you! |
Hey @dmattia - I'd like to close this request as I feel it was already fixed at the time and is no longer releavnt. But before doing so I'd like to check if you agree or have retested the fix since you raised it? |
Closing due to no response. Please re-open if relevant. |
This issue still exists. |
Thank you, I will re-open and ask the UI team to take a look! |
Thanks! Not a huge issue unless you create secrets via the UI but it did leave me confused for a bit yesterday when I was trying to validate a change and it kept showing me 10 😆 |
I think I now understand the issue thanks to comments from @michaeljs1990 The default UI view for secret creation that's with the value of However in recent versions (1.11 on wards) all data related to versions and other properties reside in Metadata that are correctly reading current values. If I've misunderstood anything then I'd welcome a screen capture of the issue. |
Correct that was exactly the issue I was running into. |
Describe the bug
Even with
max_versions
set to some non-default value, like 100, the Vault UI still brings up10
as the max number of versions for all secrets (new and existing)To Reproduce
<kv_mount_path>/config
thatmax_versions
is 100. In terraform, this is:max_versions
is globally set:vault read kv/config
showsmax_versions
being 100Expected behavior
I would expect the "Maximum Number of Versions" in the UI to default to what I have set as
max_versions
in the global config.Environment:
vault status
): 1.3.2vault version
): 1.3.3The text was updated successfully, but these errors were encountered: