'read content of .enc file via command prompt in Windows

The secrets of the files are stored in a format of .enc, in directory "secrets".

C:\etl\secrets\secrets_1.enc

To run Python scripts that sends data into DWH, I need to get the secrets before running "python test_script.py" in C:\etl\scripts\test_script.py

If I go to the directory secrets, call the command "call secrets_1.enc" on the command prompt, it brings the window "How do you want to open this file? Look for an app in the AppStore".



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source