Skip to content

Replace hardcoded Superset admin credentials with generated secret#154

Open
szachovy wants to merge 1 commit into
masterfrom
fix/87-generated-admin-password
Open

Replace hardcoded Superset admin credentials with generated secret#154
szachovy wants to merge 1 commit into
masterfrom
fix/87-generated-admin-password

Conversation

@szachovy

@szachovy szachovy commented Apr 8, 2026

Copy link
Copy Markdown
Owner

Generate admin password via os.urandom(16) in crypto.py. Pass through initialize.py → container.py as a Docker secret. entrypoint.sh reads from /run/secrets/superset_admin_password. Test suite reads from generated credentials file.

Closes #87

Generate admin password in crypto.py using os.urandom(16) base64-encoded.
Pass it through initialize.py -> container.py as a Docker secret mounted
at /run/secrets/superset_admin_password. Update entrypoint.sh to read
from the secret. Update test suite to read from the generated file.

Closes #87

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CV-3: Replace hardcoded Superset admin credentials with generated secret

1 participant