-
Notifications
You must be signed in to change notification settings - Fork 0
/
.envrc
27 lines (23 loc) · 1.33 KB
/
.envrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
nvmrc=$HOME/.nvm/nvm.sh
if [[ -f .nvmrc ]]; then
source $nvmrc
nvm use
fi
PATH_add node_modules/.bin
export HOMEBREW_GITHUB_API_TOKEN=$(vault read -field "github" secret/homebrew)
export MINIO_BUCKET=kyozo-store
export MINIO_HOST=$(vault read -field "host" secret/ouroboros/minio)
export MINIO_ACCESS_KEY=$(vault read -field "key" secret/ouroboros/minio)
export MINIO_ACCESS_SECRET=$(vault read -field "secret" secret/ouroboros/minio)
export KEYCLOAK_PUBK=$(vault read -field "public_key" secret/keycloak)
export KEYCLOAK_SITE=$(vault read -field "site" secret/keycloak)
export KEYCLOAK_CLIENT_ID=$(vault read -field "client_id" secret/keycloak/kyozo_store)
export KEYCLOAK_CLIENT_SECRET=$(vault read -field "client_secret" secret/keycloak/kyozo_store)
export KEYCLOAK_REALM=$(vault read -field "realm" secret/keycloak/kyozo_store)
export KYOZO_DB_HOST=$(vault read -field "db_host" secret/kyozo_store)
export KYOZO_DB_NAME=$(vault read -field "db_name" secret/kyozo_store)
export KYOZO_DB_USER=$(vault read -field "db_user" secret/kyozo_store)
export KYOZO_DB_PASS=$(vault read -field "db_pass" secret/kyozo_store)
export KYOZO_DB_PORT=$(vault read -field "db_port" secret/kyozo_store)
export KYOZO_SECRET_KEY=$(vault read -field "secret_key" secret/kyozo_store)
export KYOZO_SECRET_KEY_BASE=$(vault read -field "secret_key_base" secret/kyozo_store)