You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A credential with a special character in the item name can be retrieved using the 1Password CLI in Windows PowerShell with the syntax: op read op://employee/DOMAIN\\user/username
Current behavior
Trying to retrieve a secret from my Employee vault using the CLI fails when a special character in the path.
E.g. op read op://employee/DOMAIN\user/username
I've also tried escaping the backslash per the documentation. op read op://employee/DOMAIN\\user/username
And when using PowerShell adding the path in double quotes does not work either op read "op://employee/DOMAIN\user/username"
Relevant log output
[ERROR] 2024/11/14 11:26:24 could not read secret 'op://employee/DOMAIN\user/username': invalid secret reference 'op://employee/DOMAIN\user/username': invalid character in secret reference: '\'
The text was updated successfully, but these errors were encountered:
prboyer
added
the
op-cli
Functionality to be implemented in 1Password CLI. Needs to be done by 1Password Developers.
label
Nov 14, 2024
op CLI version
2.30.3
Goal or desired behavior
A credential with a special character in the item name can be retrieved using the 1Password CLI in Windows PowerShell with the syntax:
op read op://employee/DOMAIN\\user/username
Current behavior
Trying to retrieve a secret from my Employee vault using the CLI fails when a special character in the path.
E.g.
op read op://employee/DOMAIN\user/username
I've also tried escaping the backslash per the documentation.
op read op://employee/DOMAIN\\user/username
And when using PowerShell adding the path in double quotes does not work either
op read "op://employee/DOMAIN\user/username"
Relevant log output
The text was updated successfully, but these errors were encountered: