Skip to content

Latest commit

 

History

History
109 lines (74 loc) · 2.25 KB

auth.md

File metadata and controls

109 lines (74 loc) · 2.25 KB

heroku auth

check 2fa status

heroku auth:2fa

check 2fa status

USAGE
  $ heroku auth:2fa

ALIASES
  $ heroku 2fa
  $ heroku twofactor

See code: @heroku-cli/plugin-auth

heroku auth:2fa:disable

disables 2fa on account

USAGE
  $ heroku auth:2fa:disable

ALIASES
  $ heroku twofactor:disable
  $ heroku 2fa:disable

EXAMPLES
  $ heroku auth:2fa:disable

See code: @heroku-cli/plugin-auth

heroku auth:login

login with your Heroku credentials

USAGE
  $ heroku auth:login

OPTIONS
  -e, --expires-in=expires-in  duration of token in seconds (default 30 days)
  -i, --interactive            login with username/password
  --browser=browser            browser to open SSO with (example: "firefox", "safari")

ALIASES
  $ heroku login

See code: @heroku-cli/plugin-auth

heroku auth:logout

clears local login credentials and invalidates API session

USAGE
  $ heroku auth:logout

ALIASES
  $ heroku logout

See code: @heroku-cli/plugin-auth

heroku auth:token

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: @heroku-cli/plugin-auth

heroku auth:whoami

display the current logged in user

USAGE
  $ heroku auth:whoami

ALIASES
  $ heroku whoami

See code: @heroku-cli/plugin-auth