Hello everyone,
I’m trying to add a secret to my livebook. ( I need to have some credentials but I don’t want to save them in the livebook directy)
I tried the following in the ‘Notebook dependencies and setup’
Mix.install([
{:req, "~> 0.2.1"},
{:jason, "~> 1.3"},
{:kino, "~> 0.5.0"}
],
config_path: "<full_path>/config/config.exs"
)
but if I now try to access the config via Application.get_all_env(:apaleo_api)
the return is empty.
config.exs:
import Config
config :apaleo_api, :basic_auth,
username: "username",
password: "password"
Maybe someone can tell me what I am doing wrong …