Secrets: syntax can't access variables

I’m trying to use secrets: syntax but it seems that it can’t access variables for vault argument. Should it work?

I want to have my vault path configurable by variable. When I harcode it in vault parameter it works. When I put the same value as hardcoded one into PASSWORD_VARIABLE and then use this variable in vault parameter, it doesn’t work. Should it work? Not this syntax for variables there?

ver: 14.9.2-ee

variables:
  PASSWORD_VARIABLE: somevaultpath


somejob:
  secrets:
    SOME_PASSWORD:
      vault: $PASSWORD_VARIABLE

I would appreciate any help. Maybe it’s just not possible to have that part configurable.