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's avatar
Former Member
3 years ago

1Password and Cygwin

Windows 10 , (cygwin) 2.9.0

>op --version 2.3.0
I do not get any output if I try to add an account.
> op account add --signin --address https://XXXXX/ --email XXXXXX --secret-key XXXXXX

If I try e.g.
>op vault list
No accounts configured for use with 1Password CLI.

You can either:
- Sign in with biometric unlock; see https://developer.1password.com/docs/cli/get-started/#sign-in for details.
- Add an account manually with op account add; see op account add --help for details.

P.s.: In Powershell/Cmd everytyhing works


1Password Version: op-cli 2.3.0
Extension Version: Not Provided
OS Version: Windows 10 (cygwin

  • Former Member's avatar
    Former Member

    Hey @michael80r

    We currently officially only support PowerShell on Windows platforms, as Cygwin has not been tested with op.

    I can, however, try to help you debug this issue.

    When you run the following command to sign in:

    op account add --signin --address https://XXXXX/ --email XXXXXX --secret-key XXXXXX

    Does it prompt for the password?

    The traditional behavior should look like:

    ```

    op account add --signin --shorthand test_account --email EMAIL --address ADDRESS --secret-key SK
    Enter the password for EMAIL at ADDRESS:
    export OP_SESSION_REDACTED_USER_UUID="REDACTED_SESSION_TOKEN"

    This command is meant to be used with your shell's eval function.

    Run 'eval $(op signin --account business2)' to sign in to your 1Password account.

    Use the --raw flag to only output the session token.

    ```