Nested key path support for Database Secret Engine

I want to create some secrets in the database secrets engine within a nested key path. For example:

database/path/to/secret

When I run the following command I get a “path not supported” error:

vault write database/static-roles/path/to/secret db_name="pg" username="secret" rotation_period="1d"

I’ve also tried creating the secret through the GUI, getting the same “path not supported”. If I try the key path, but under the LDAP secret engine; it works.

Does the database secret engine not support nested key paths? Does that make sense?