Prechádzať zdrojové kódy

Add note about storing secrets on macos

Kevin Heinicke 2 rokov pred
rodič
commit
ffe034727b
2 zmenil súbory, kde vykonal 12 pridanie a 0 odobranie
  1. 11 0
      README.md
  2. 1 0
      gitignore_global

+ 11 - 0
README.md

@@ -56,3 +56,14 @@ These should be fine, as per `man pmset`
 ```
 sudo pmset -b hibernatemode 25 standbydelaylow 600 standbydelayhigh 1200
 ```
+
+## Storing secrets and stuff in keychain
+Thanks to [some medium article](https://medium.com/@johnjjung/how-to-store-sensitive-environment-variables-on-macos-76bd5ba464f6)
+```
+security add-generic-password -a "$USER" -s 'name_of_your_key' -w 'passphrase'
+```
+and
+```
+security find-generic-password -a "$USER" -s 'name_of_your_key' -w
+```
+

+ 1 - 0
gitignore_global

@@ -49,3 +49,4 @@ livepreview/
 .python-version
 .metals/
 .idea/
+.vscode