You will probably really like https://varlock.dev
It’s a whole toolkit for this - with built in validation, type safety, and extra protection for sensitive secrets.
So the solution is to use a proprietary password manager instead? No thanks
People still code on their local boxes? op is not biometric secured over an ssh tunnel
Mfw typing the command stores the password in plaintext in my shell history