In the Heroku CLI (I am using WSL/Ubuntu), I would like to see with which Heroku account I am currently logged in.
The command heroku login
starts a new login session but I want to know which account is currently active
I would expect (prefer) a list of accounts with which I have logged in, showing an asterisk (*) at the account I am logged in, OR, just a message "logged in as: account-email"
Get Started with the Heroku CLI After you install the CLI, run the heroku login command. Enter any key to go to your web browser to complete login. The CLI then logs you in automatically.
Install the heroku-accounts plugin – this will let you use multiple Heroku accounts in parallel.
Navigating the dashboardThe Heroku Dashboard's default view is a list of the apps and pipelines that belong to your personal Heroku account. The list includes each app's name, technology, stack, and region.
Display the current logged in user:
USAGE
$ heroku auth:whoami
ALIASES
$ heroku whoami
For more information: Heroku CLI Commands
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With