exactly, i don't know why everyone is ignoring this. It's the obvious solution to at least 80% of what most posters here are complaining about and comes built in already in multiple existing solutions.
If the secret doesn’t exist on the host (or your password vault) where you’re running docker, how do you get it into docker? Even —-ref support requires the utility (op for example).