I have a fresh installation of Vault. I’ve created an admin policy using this template and then created a
dev/ KV backend while logged in as the admin. The issue is that I can’t see the secret listed in the UI, but I can see it using CLI’s
vault secrets list
Weirdly enough, I could see the backend if I logged in to the UI using the root token.
Now, by sniffing the http traffic I saw that the CLI calls
while web UI calls
The former returns
sys/ while the latter returns only
sys/. In both requests I’m using the same token for admin user, however If I were to use the root token, I’d see
dev/ in both requests.
I couldn’t find in the docs what permissions is the sample admin policy missing which prevents it to see the backends in web UI.