Unable to configure username_template in database engine

hello, I’m configuring my database engine like this:

vault write -tls-skip-verify database/config/keycloak plugin_name=postgresql-database-plugin allowed_roles="keycloak-role" connection_url="postgresql://{{username}}:{{password}}@cockroachdb-public.cockroachdb.svc.cluster.local:26257/keycloak?sslmode=require&sslrootcert=/global-certs/tls.ca" username="dba" password="dba" username_template="keycloak-{{ random 20 | lowercase }}- {{ unix_time }}"

but when I generate a user name, I get this format: v-root-keycloak-M8QKBq7sMQy1A7dNiDtt-1621556741, which is the default format and does not work with the database I’m using.

also the database engine apperas like this in the ui:

so it looks empty, not sure if that is normal.

Can you suggest ways to troubleshoot?

I upgraded to vault 1.7.1, the latest for which there is an image available. I can now see the database connection configuration in the ui, but I cannot see the username_template settings in it:


does it mean that it is being ignored?

nevermind, I figured it out.