DEV Community

Discussion on: Password management on the command line

Collapse
 
richardyule profile image
Richard Yule

If you use 1Password as your general password manager have you tried their "op" command-line tool? Interested to know if it offers enough to be an alternative to pass.

Collapse
 
rodreegez profile image
Adam Rogers

Hey, Richard, judging from your bio I’d say you probably know the answer to this better than I would!

I’ve not tried op as I’m not a 1Password user myself, but I’m sure you’d be able to achieve the same result?

One thing I did like about pass was that keys can be arbitrarily nested in a directory-like structure, which means you can have several keys/tokens/passwords under a given path, which can allow for storing more complex credentials than just a username and password, e.g. a database connection string made up of username, password, host, port, database and schema, all stored under e.g. aws/rds/production/ - not sure why or of that’d ever be handy, but thought it was an interesting facet of the model.