ibs/sql_app/init_secrets.sh
HeshamTB 7d4f49d0e7
init_secrets: script to init .env values
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2022-04-14 07:19:53 +03:00

7 lines
171 B
Bash
Executable File

#!/bin/bash
echo "API_KEY=$(./gen_secret.sh)" >> .env
echo "API_KEY_NAME=big_boy" >> .env
echo "jwt_secret=$(./gen_secret.sh)" >> .env
echo "jwt_algorithm=HS256" >> .env