Perhaps this is already supported by Hush and I missed this in the docs, but it would be really great if there was a way to specify multiple providers to use to look up a value. Ie:
config :my_app,
:some_config, {:hush, [SystemEnvironment, GcpSecretManager], "SOME_CONFIG"}
Hush would then smartly try to find the value from both providers and only explode if it couldn't find a value in either.
This feat. would be particularly useful for when we want to set secrets for tests via Github workflow secrets in CI and GcpSecretsManager in prod or staging.
Let me know what you think!
Perhaps this is already supported by Hush and I missed this in the docs, but it would be really great if there was a way to specify multiple providers to use to look up a value. Ie:
Hush would then smartly try to find the value from both providers and only explode if it couldn't find a value in either.
This feat. would be particularly useful for when we want to set secrets for tests via Github workflow secrets in CI and GcpSecretsManager in prod or staging.
Let me know what you think!