# Inheritance for wordpress_sites.yml - prevent dublicated licence-key definition

I try to specify a licence-key for the db-migrate-pro plugin at one location.
For me it seems logic to define it in all/vault.yml like the following example shows:

vault_wordpress_sites:
–domain.com:
----env:
------wpmdb_licence: XXXXXX

And then it should be used for all environments…
Unfortunately this does not work so i tried to defined the key at the root of all/vault.yml and reuse it in env/vault.yml under vault_wordpress_sites:… with “{{wpmdb_licence}}”

This did not work either so i defined it in the wordpress_sites.yml of all environments separately

Do you have a solution for me, so i do not have to define the key redundant?

1 Like

This topic was automatically closed after 42 days. New replies are no longer allowed.