Customizing the defaultUserNameTemplate of the postgres database engine

Hi,

It looks like this is the default for the UserNameTemplate of the postgres vault database secret engine.

defaultUserNameTemplate = {{ printf "v-%s-%s-%s-%s" (.DisplayName | truncate 8) (.RoleName | truncate 8) (random 20) (unix_time) | truncate 63 }}

I’d like to customize that to include the name of the logged in vault user but I’m having a hard time finding any documentation on what fields are available - e.g. .DisplayName, .RoleName, etc.

Can anyone point me in the right direction?

Thanks