In my runtime.exs file I have:
if config_env() == :test do
config(:ex_aws, access_key_id: "dummy", secret_access_key: "dummy")
end
There is a check Sobelow.Config.Secrets which says:
Sobelow detects missing hard-coded secrets by checking the prod
configuration.
This check fails even though the env is :test. There is also no way to ignore it as far as I can tell? Putting this does not work:
if config_env() == :test do
# sobelow_skip ["Config.Secrets"]
config(:ex_aws, access_key_id: "dummy", secret_access_key: "dummy")
end