SecretVault -- store your secrets inside your repository

I was able to reproduce the issue on this project by doing the following:

  1. build a release: MIX_ENV=dev mix release --overwrite
  2. try to eval: _build/dev/rel/playground/bin/playground eval 'Playground.hello()'

Same error:

ERROR! Config provider Config.Reader failed with:
{"init** (MatchError) no match of right hand side value: {:error, {:no_configuration_for_app, :playground}}
    (stdlib 4.1.1) erl_eval.erl:496: :erl_eval.expr/6
    /Users/tbj/projects/secret_vault_example/_build/dev/rel/playground/releases/0.1.0/runtime.exs:3: (file)
    (elixir 1.14.2) src/elixir.erl:294: :elixir.eval_forms/4
    (elixir 1.14.2) lib/module/parallel_checker.ex:107: Module.ParallelChecker.verify/1
    (elixir 1.14.2) lib/code.ex:425: Code.validated_eval_string/3
    (elixir 1.14.2) lib/config.ex:288: Config.__eval__!/3
    (elixir 1.14.2) lib/config/reader.ex:92: Config.Reader.read!/2
1 Like