netbox inventory source: set token in a vault

hello.
i’m tinkering with netbox inventory source plugin and noticed , that i must set then auth token either in the inventory file, or in a env variable. but i’d rather have it in a vault file.
my attempts to import the token variable from an external file (encrypted or not) to inventory.yml have failed so far.
has anyone successfully done it?