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
2 years ago

Heroku + 1password not working

After following the instructions here: https://developer.1password.com/docs/cli/shell-plugins/heroku/, I get this:


$ heroku status
Apps: No known issues at this time.
Data: No known issues at this time.
Tools: No known issues at this time.
$ op plugin run -- heroku status # just hangs without saying anything

Note - I have not added the $HOME/.config/op/plugins.sh so heroku is what is installed by brew.

1Password for Mac 8.10.6 (81006027)


op -v
2.18.0


1Password Version: 1Password for Mac 8.10.6 (81006027)
Extension Version: Not Provided
OS Version: Mac OS
Browser:_ Not Provided
Referrer: forum-search:heroku

  • Former Member's avatar
    Former Member

    Note that the following command works:

    $ op run -- heroku status

    But it is not the command run by the alias:

    $ more $HOME/.config/op/plugins.sh
    export OP_PLUGIN_ALIASES_SOURCED=1
    alias heroku="op plugin run -- heroku"

  • Former Member's avatar
    Former Member

    Hey @fireflay24 ! Thank you for reaching out to us.

    A few questions, to be able to repro:
    1. Is the command hanging consistently, or does this occur randomly?
    2. Can you let us know your version of Heroku CLI?
    3. Is this problem present only in heroku status, or across all heroku commands?
    4. Does setting a credential default (with op plugin init heroku) alleviate the problem?

    Looking forward to hearing back from you!

    Best,
    Horia