Custom database role path

When creating database role or secret engine I want to configure these with a custom path, but when executing vault write myorg/database/roles/myrole, I am getting error similar to

URL: PUT http://127.0.0.1:8200/v1/myorg/database/config/app_db
Code: 404. Errors:

If I use database/roles/myrole, everything works fine.

Do I need to define prefix for custom path somewhere else before using custom path prefix?

Hello @akravets.dev ,

The only way I can think of how to do this is with namespaces, which would require Vault Enterprise or HCP Vault.

Here is an example of namespaces:

The challenge there is that, while Vault is path based, its not as simple as adding a directory as you would in the file system.