Question
How can I decrypt an encrypted dictionary entry?
Answer
There is no direct method from UI to decrypt an encrypted dictionary entry.
As a workaround, you could try using the XL CLI to get the details of an encrypted dictionary.
Steps to Follow
We used an Encrypted dictionary: Environments/Dict/test_dictionary
By using the -s flag in the xl generate command, it generates a file secrets.xlvals that contains all the passwords:
xl generate xl-deploy -s --xl-deploy-password <"your_deploy_password_for_admin_user"> -p Environments/
Dict/test_dictionary -f test5.yaml
This will generate two files: test5.yaml and secrets.xlvals
The secrets.xvals will have the encrypted values listed:
╰─➤ cat secrets.xlvals
#Secrets
#Thu Jan 26 13:35:17 EST 2023
Environments_Dict_test_dictionary_entries_abc=test@123
Environments_Dict_test_dictionary_entries_def=dai@123
Related Information
Comments
Please sign in to leave a comment.