feat: read secrets from env/file
This commit is contained in:
parent
e25fc5ed64
commit
0c721e9296
3 changed files with 66 additions and 4 deletions
|
|
@ -41,6 +41,11 @@
|
|||
]);
|
||||
|
||||
shellHook = ''
|
||||
export OIDC_CLIENT_ID="putzplan"
|
||||
export OIDC_BASE_URL="http://127.0.0.1:9091"
|
||||
export OIDC_CLIENT_SECRET_FILE="${pkgs.writeText "client_secret" "insecure_secret"}"
|
||||
export OIDC_REDIRECT_URI="http://127.0.0.1:4000/auth"
|
||||
|
||||
# allows mix to work on the local directory
|
||||
mkdir -p .nix/{mix,hex}
|
||||
export MIX_HOME=$PWD/.nix/mix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue