auth core plugin for Heroku CLI
heroku auth:2fa
heroku auth:2fa:disable
heroku auth:login
heroku auth:logout
heroku auth:token
heroku auth:whoami
heroku labs:disable [FEATURE]
check 2fa status
USAGE
$ heroku auth:2fa
ALIASES
$ heroku 2fa
$ heroku twofactor
See code: src/commands/auth/2fa/index.ts
disables 2fa on account
USAGE
$ heroku auth:2fa:disable
ALIASES
$ heroku twofactor:disable
$ heroku 2fa:disable
EXAMPLES
$ heroku auth:2fa:disable
Disabling 2fa on me@example.com... done
See code: src/commands/auth/2fa/disable.ts
login with your Heroku credentials
USAGE
$ heroku auth:login
OPTIONS
-e, --expires-in=expires-in duration of token in seconds (default 1 year)
-i, --interactive login with username/password
--browser=browser browser to open SSO with (example: "firefox", "safari")
ALIASES
$ heroku login
See code: src/commands/auth/login.ts
clears local login credentials and invalidates API session
USAGE
$ heroku auth:logout
ALIASES
$ heroku logout
See code: src/commands/auth/logout.ts
outputs current CLI authentication token.
USAGE
$ heroku auth:token
OPTIONS
-h, --help show CLI help
DESCRIPTION
By default, the CLI auth token is only valid for 1 year. To generate a long-lived token, use heroku
authorizations:create
See code: src/commands/auth/token.ts
display the current logged in user
USAGE
$ heroku auth:whoami
ALIASES
$ heroku whoami
See code: src/commands/auth/whoami.ts
disables an experimental feature
USAGE
$ heroku labs:disable [FEATURE]
OPTIONS
-a, --app=app app to run command against
-r, --remote=remote git remote of app to use
--confirm=confirm
See code: src/commands/labs/disable.ts