Skip to main content
May 23, 2023
Question

Heroku + 1password not working

  • May 23, 2023
  • 2 replies
  • 242 views

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:https://1password.community/search?Search=heroku

2 replies

May 23, 2023

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"

May 26, 2023

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