Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(contributing): How create or change SECRET_KEY #2

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

pankajsoni22
Copy link
Owner

Explained how to change/create secret key.

SUMMARY

When you are running an instance of superset naturally you might have added many DataBase connections, created a lot of charts and dashboards.
Suddenly if you want to change the SECRET_KEY to make your data encrypted , you need current secret key that has already encrypted your data.
Then you need to create a new SECRET_KEY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

BEFORE SS

image

AFTER SCREENSHOT

image

ADDITIONAL INFORMATION

To change the SECRET_KEY we need to provide current secret key as PREVIOUS_SECRET_KEY in superset_config.py and New secret key should be assigned to SECRET_KEY variable.

Explained how to change/create secret key.
@pankajsoni22 pankajsoni22 merged commit b4d4a59 into master Mar 20, 2023
@pankajsoni22 pankajsoni22 deleted the pankajsoni22-secret_key_rotation branch March 20, 2023 05:07
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.

1 participant