show the generated value

This commit is contained in:
decentral1se 2022-05-10 12:08:58 +02:00
parent f042c460bf
commit 270bc70af8
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 5 additions and 0 deletions

View File

@ -3,7 +3,12 @@ export APP_ENTRYPOINT_VERSION=v1
secrets() {
docker context use default > /dev/null 2>&1
DJANGO_SECRET_KEY=$(openssl rand -base64 45)
echo "DJANGO_SECRET_KEY = $DJANGO_SECRET_KEY"
echo ""
abra app secret insert "$APP_NAME" django_secret_key v1 "$DJANGO_SECRET_KEY"
}