Supported way to add custom secrets backends

Currently the only supported methods to load secrets are:

  • secrets.yml
  • keyring
  • credstash

Without someway to override/augment util/yaml/loader.py, we can’t add additional sources for loading secrets. My use case is I use Hashicorp Vault to store/manage my secrets and in order to integrate them into my homeassistant instance I have to monkey-patch loader.py with an additional block of code to tell homeassistant to retrieve the secrets from Vault.

It would be nice to be able to override loader.py like we can do with components, that would be much more viable than what I am doing now.

I am also interested in this - can you share what you do with loader.py to integrate with vault.

I’d also like to see a secrets integration framework that can be used by add-ons also