{erl_opts, [debug_info]}.
{hex, [{repos, [#{name => <<"hexpm:myorg">>}]}]}.
{deps, [private_package_in_org]}.
Currently there is not automagic way to create this config in rebar3 without rebar3_hex, so simply make the file ~/.config/rebar3/hex.config:
#{
<<"hexpm:myorg">> =>
#{
repo_key => <<"key">>
}
}.
{erl_opts, [debug_info]}.
{hex, [{repos, [#{name => <<"hexpm:myorg">>}]}]}.
{deps, [private_package_in_org]}.
You should use the plugin to generate these configurations, but are documented below as examples.
This configuration should be generated by the rebar3_hex plugin using the following command:
rebar3 hex user auth
Which should generate something similar to:
#{<<"hexpm">> =>
#{read_key => <<"read_key">>,
username => <<"starbelly">>,
write_key =>
{<<1,2,3>>,
{<<3,2,1>>,
<<7,8,9>>}}}}.