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

VaultFS, not able to go deeper than one level in KV version2 #7

Open
adrianlzt opened this issue Jan 5, 2024 · 0 comments
Open

VaultFS, not able to go deeper than one level in KV version2 #7

adrianlzt opened this issue Jan 5, 2024 · 0 comments

Comments

@adrianlzt
Copy link

When I try to access folders deeper than one level, it does not work.

sh-5.2$ VAULT_ADDR=http://localhost:8200 VAULT_TOKEN=XXX ls mnt/secret/admon
mnt/secret/admon
sh-5.2$ curl -H "X-Vault-Request: true" -H "X-Vault-Token: XXX" http://127.0.0.1:8200/v1/secret/metadata/admon?list=true
{"request_id":"11efcb4a-15b6-4583-6e8c-e39fd7925a49","lease_id":"","renewable":false,"lease_duration":0,"data":{"keys":["foobar"]},"wrap_info":null,"warnings":null,"auth":null}

Debug output:

unique: 1096, opcode: LOOKUP (1), nodeid: 1, insize: 47, pid: 3408505
LOOKUP /secret
getattr /secret
   NODEID: 8
   unique: 1096, success, outsize: 144
unique: 1098, opcode: LOOKUP (1), nodeid: 8, insize: 46, pid: 3408505
LOOKUP /secret/admon
getattr /secret/admon
   NODEID: 10
   unique: 1098, success, outsize: 144
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