Project

Profile

Help

Story #2416

closed

Generate random SECRET_KEY for Django as part of setup workflow

Added by dkliban@redhat.com about 8 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 21
Quarter:

Description

The setup workflow for a new deployment of Pulp platform needs to generate a random SECRET_KEY[0] for the Django app serving the API.

This should not be done by the RPM installation automatically, so that pre-built images can be re-used with their own config and especially their own secrets.

[0] https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-SECRET_KEY

Also available in: Atom PDF