Should alter MountPath to obtain secrets Using bot Java and .NET


We use [Vault 1.6.2+ent].

In both Java and .NET implementations, we had to add /data between the word secret and the rest of mount_path (using KV engine). EX: secret/data/applications/0077/non_production/development/.

This is not documented anywhere, it took me 4 days to figure this out after long search.

The question is, is this a bug? if not, is to stay in future versions?

Abdu ElWhidi

This is detailed here:

Thanks for the reply. The question is why when I used the CLI it worked without /data, however, when I use Java or .NET I have to use it. The server here is the same. Shouldn’t be consistent?