Login command

The login command is used to store an elmah.io API key locally. Sub-sequent commands will use the privately stored API key instead of requiring an --apiKey option. If specified, the --proxyHost and --proxyPort options are only used to test the API key on this command and will need to be specified again when running other commands.

Usage

> elmahio login --help

Description:
  Authenticate with elmah.io and store your API key locally

Usage:
  elmahio login [options]

Options:
  --apiKey <apiKey>        An API key with permission to execute commands
  --proxyHost <proxyHost>  A hostname or IP for a proxy to use to call elmah.io
  --proxyPort <proxyPort>  A port number for a proxy to use to call elmah.io
  -?, -h, --help           Show help and usage information

Example

elmahio login --apiKey API_KEY


This article was brought to you by the elmah.io team. elmah.io is the best error management system for .NET web applications. We monitor your website, alert you when errors start happening, and help you fix errors fast.

See how we can help you monitor your website for crashes Monitor your website