Configuration¶
To properly configure Barrenero API you must define the following keys in .env file:
API superuser password¶
To create an API superuser password that allows users to do actions such restarting services you must define a password and encrypt it using Django tools:
from django.contrib.auth.hashers import make_password
password = make_password('foo_password')
You should put the result in DJANGO_API_SUPERUSER variable.