I use a password manager & its CLI to get rid of e.g. my plain text PATH variables & access secrets from scripts.
However I can't find a way to get rid of plain text secret files such as e.g. a kubeconfig file.
Is there a tool (MacOS) that can e.g. encrypt files and ask for a popup when a process tries to access it? Or some other solutions that helps me get rid of these plain text secret files.
Note you need to first give the calling app permissions to that secret into Keychain Access, otherwise you will get two password popups (one for the app, then one for the secret usage).
I have a function in my zshrc that wraps usage, to save typing.
reply