hashicorp / vault

A tool for secrets management, encryption as a service, and privileged access management
https://www.vaultproject.io/
Other
31.22k stars 4.22k forks source link

Simple bug with ui (page buttons) #27875

Open yuriraff opened 3 months ago

yuriraff commented 3 months ago

Describe the bug A clear and concise description of what the bug is. i go to the https://vault.dev/ui/vault/secrets/secret/list/user-space/ and link to next page is https://vault.dev/ui/vault/secrets/secret/list/secret?page=2 i get 404 because has no such folder(path) i expect https://vault.dev/ui/vault/secrets/secret/list/user-space/?page=2. (this work if type manually)

look like https://vault.dev/ui/vault/secrets/(kv engine name)/list/(kv engine name)?page=2 but need something like https://vault.dev/ui/vault/secrets/(kv engine name)/list/(secret path)?page=2

To Reproduce Steps to reproduce the behavior:

  1. create a secret store v1
  2. create a large number of secrets in folders. (/secret/users-space/idxxxx/dev/....)
  3. try go to second page
Type  kv
Path secret/
Local  No
Seal wrap  No
Version. 1

Environment:

Vault server configuration file(s):

helm chart in k8s.
i think conf not need.
NagenderPulluri commented 3 months ago

facing same issue.. going to the page https://vault.dev/ui/vault/secrets/secret/list/secret?page=2 instead of https://vault.dev/ui/vault/secrets/secret/list/user-space/?page=2 as I have created the path secrets/secret/secret its going there, else i would have got 404 error..

hvdkooij commented 2 months ago

Faced the same issue.