Creation of service accounts
You need a service account for DataWarehouse.
Click “+ Add” on Users model and create a new user by clicking “Save and continue editing”.
Scroll down and add any value to last_login, this prevents the account getting deleted.
Add any needed groups.
(optional) Add api token (under the Tokens model) to the new service account, and if needed add it to deployment-all.
Commonly service accounts username start with
It is best to use a random password generator for the service account like Diceware or BitWarden, however if the service account doesn’t need password after creation of the service account you can unset the password by opening shell and running this (example using the username ‘sa-new-user’):
sa_user = User.objects.get(username='sa-new-user') sa_user.set_unusable_password() sa_user.save()