A word of caution - this is a way to leak your secrets through your shell history:
$ envelope add dev db_pwd pwd
There are settings such that a command that starts with a space will not be saved in the history which would help here but I would be very careful about how you use this.
No, not necessarily. Compared to interactive prompts / processes, at a minimum ones that can help audit access (e.g. 1password), there is an immediate layer of defense missing when things are just sitting in plain text in the history. (Same extends to our beloved `.env` files.)
If you do a lot of remote pairing or screen sharing then you also remove the risk of sharing on accident by searching or walking up through your command history.