Akamai MFA CLI

​Akamai MFA​ CLI lets you configure and generate your ​Akamai MFA​ authentication logs using the command-line interface (CLI).

Follow this procedure to learn how you can get access and interact with Authentication events data feeds.

To use ​Akamai MFA​ CLI you need:

  • ​Akamai​ CLI installed
  • If you do not have the CLI and are using Homebrew on macOS, run this command:
    brew install <<COMPANY_NICKNAME>>
  • You may also download OS-specific CLI binaries or a Docker image
  • Valid EdgeGrid credentials configured via ​Akamai​ Control Center. See Get Started with APIs

For more information, see ​Akamai​ CLI.

  1. In the Enterprise Center navigation menu, select Multi-factor Authentication > Integrations.

  2. Click Add integration (+).

  3. Select Logging, and set the integration name, for example, cli-mfa.

  4. Click and Save and Deploy.
    You’ve just generated your API Host, Integration ID, and Signing Key. This data will be available for you on the integration page. Your integration credentials can be copied anytime and used in the following steps to configure the integration settings.

  5. Copy your Integration ID and Signing Key.

  6. Add them both into your ~/.edgerc file, either in the [default] section or one of your choice:

    mfa_integration_id = app_12345abcdef
    mfa_signing_key = some-random-key

If you are working with multiple tenants, you need to:

  1. Create another Logging-type integration
  2. Use newly-generated credentials in each new tenant
  3. Enter your new credentials into different sections of the edgerc file.

As all the log lines are JSON-formatted from the source, there is no need to extract fields separately.
Log lines will appear automatically in the search as soon as the logs are pushed.

For more information, go to MFA CLI.

Did this page help you?