Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
tmarquard
4 years agoNew Contributor
Using OP and Python to autofill CLI passwords, is there a danger to passwords in memory?
I am wanting to write a script to autofill and update passwords in Python on the CLI. It is easy enough to use subprocess and run OP to get vault items and inject them. Though I am worried that by do...
Former Member
4 years agotmarquard - I can't recommend doing this, since that's well outside the scope of what 1Password (even the CLI) helps you manage. I can really only sympathize with the undeniable fact that in some cases, following best security practices can be time-consuming and even annoying.
It would be much easier, for example, to have a one-character Account Password. Ridiculously insecure...but unquestionably easier than typing out a long string of characters every time it's required. It would also be easier to simply paste one's Account Password into a text file or keyboard shortcut, so that it could be re-pasted whenever needed. Of course that, too, wouldn't be very secure.
The point is not to compare what you are doing with either of those things directly, but to make the larger point that it's frequently not the greatest idea from a security perspective to create shortcuts with some of the very things that help keep you secure, in any environment, be it your OS, or 1Password.