3 ms·
> Encrypt access keys in config files instead of just leaving them exposed in the config file. How do decrypt them when you app re-launches? How do you decrypt
by nailer 11y ago
> Encrypt access keys in config files instead of just leaving them exposed in the config file.
How do decrypt them when you app re-launches? How do you decrypt them automatically on every instance?
- voltagex_ 11y agoI've moved to using environment variables. I realise they have their own security challenges but at least I'm not accidentally going to git push the keys.
- wereHamster 11y agoBut you probably want to store the descriptions of the instances and what runs on them in a git repository. It doesn't matter whether you use env variables or something else. At some point you will have a git repository which stores the CM for your whole infrastructure.