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 #23420

Merged
merged 2 commits into from
Mar 23, 2023

Conversation

pankajsoni22
Copy link
Contributor

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 SCREENSHOT

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.
docs(contributing): How create or change SECRET_KEY
@pankajsoni22
Copy link
Contributor Author

Hi @nytai Just have a look. Let me know if docs are not perfect.
Suggest if anything to be added. I've incorporated your suggestions in it.

@nytai nytai merged commit 212b733 into apache:master Mar 23, 2023
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 3.0.0 labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/XS 🚢 3.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants