show the generated value
This commit is contained in:
parent
f042c460bf
commit
270bc70af8
5
abra.sh
5
abra.sh
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue