Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
3 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
3 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'