Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@heroku-cli/plugin-auth

Package Overview
Dependencies
Maintainers
27
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heroku-cli/plugin-auth

auth core plugin for Heroku CLI

  • 8.1.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.3K
increased by37.26%
Maintainers
27
Weekly downloads
 
Created
Source

@heroku-cli/plugin-auth

auth core plugin for Heroku CLI

Version CircleCI Appveyor CI Downloads/week License

  • Commands

Commands

heroku 2fa

check 2fa status

USAGE
  $ heroku 2fa

DESCRIPTION
  check 2fa status

ALIASES
  $ heroku 2fa
  $ heroku twofactor

heroku 2fa:disable

disables 2fa on account

USAGE
  $ heroku 2fa:disable

DESCRIPTION
  disables 2fa on account

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

EXAMPLES
  $ heroku auth:2fa:disable

heroku auth:2fa

check 2fa status

USAGE
  $ heroku auth:2fa

DESCRIPTION
  check 2fa status

ALIASES
  $ heroku 2fa
  $ heroku twofactor

See code: src/commands/auth/2fa/index.ts

heroku auth:2fa:disable

disables 2fa on account

USAGE
  $ heroku auth:2fa:disable

DESCRIPTION
  disables 2fa on account

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

EXAMPLES
  $ heroku auth:2fa:disable

See code: src/commands/auth/2fa/disable.ts

heroku auth:login

login with your Heroku credentials

USAGE
  $ heroku auth:login [--browser <value>] [-i] [-e <value>]

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

DESCRIPTION
  login with your Heroku credentials

ALIASES
  $ heroku login

See code: src/commands/auth/login.ts

heroku auth:logout

clears local login credentials and invalidates API session

USAGE
  $ heroku auth:logout

DESCRIPTION
  clears local login credentials and invalidates API session

ALIASES
  $ heroku logout

See code: src/commands/auth/logout.ts

heroku auth:token

outputs current CLI authentication token.

USAGE
  $ heroku auth:token [-h]

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  outputs current CLI authentication token.
  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

heroku auth:whoami

display the current logged in user

USAGE
  $ heroku auth:whoami

DESCRIPTION
  display the current logged in user

ALIASES
  $ heroku whoami

See code: src/commands/auth/whoami.ts

heroku labs:disable [FEATURE]

disables an experimental feature

USAGE
  $ heroku labs:disable [FEATURE] [-a <value>] [-r <value>] [--confirm <value>]

FLAGS
  -a, --app=<value>     app to run command against
  -r, --remote=<value>  git remote of app to use
  --confirm=<value>

DESCRIPTION
  disables an experimental feature

See code: src/commands/labs/disable.ts

heroku login

login with your Heroku credentials

USAGE
  $ heroku login [--browser <value>] [-i] [-e <value>]

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

DESCRIPTION
  login with your Heroku credentials

ALIASES
  $ heroku login

heroku logout

clears local login credentials and invalidates API session

USAGE
  $ heroku logout

DESCRIPTION
  clears local login credentials and invalidates API session

ALIASES
  $ heroku logout

heroku twofactor

check 2fa status

USAGE
  $ heroku twofactor

DESCRIPTION
  check 2fa status

ALIASES
  $ heroku 2fa
  $ heroku twofactor

heroku twofactor:disable

disables 2fa on account

USAGE
  $ heroku twofactor:disable

DESCRIPTION
  disables 2fa on account

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

EXAMPLES
  $ heroku auth:2fa:disable

heroku whoami

display the current logged in user

USAGE
  $ heroku whoami

DESCRIPTION
  display the current logged in user

ALIASES
  $ heroku whoami

Keywords

FAQs

Package last updated on 01 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc