Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoChange password using "op item edit" without having it on the command line?
I need to programmatically update the password for multiple entries in my vault.
This here works nicely:
op item edit some-item "password=noneofyourbusiness"
but it has 2 problems:
...
cliKing
4 years agoOccasional Contributor
@EdGlue You must use the escape mecanisms of your shell to escape the special characters.
With bash or zsh (Linux/Mac) use single quotes and escape those single quote with a backslash.
Example with password abc'def :
$ op item edit some-item 'abc'\''def'