TOC & Recently Viewed

Recently Viewed Topics

Generate an API Key

Note: API Access and Secret keys are required to use the API.

The method of generating an API key varies slightly based on the role assigned to your user account. Administrators can generate API keys for any user account. For more information, see Generate Another User's API Key. Other roles can generate API keys for their own account.

Required User Role: Basic, Scan Operator, Standard, Scan Manager, or Administrator

To generate an API key for your own account in the new interface:

  1. Do one of the following:
    • In the upper-left corner, click the Menu button.

      The left navigation plane appears.

      1. In the left navigation plane, click Settings.

        The Settings page appears.

      2. Click the My Account widget.

        The My Account page appears.

    • In the upper-right corner, click the button.

      The user account menu appears.

      1. Click My Account.

        The My Account page appears.

  2. Click the API Keys tab.

    The API Keys section appears.

  3. Click Generate.

    The Generate API Keys window appears with a warning.

    Caution: Any existing API keys are replaced when you click the Generate button. You must update the applications where the previous API keys were used.

  4. Review the warning and click Generate. generates access and secret keys for the account. These keys must be used to authenticate with the REST API.

Copyright © 2020 Tenable, Inc. All rights reserved. Tenable,, Tenable Network Security, Nessus, SecurityCenter, SecurityCenter Continuous View and Log Correlation Engine are registered trademarks of Tenable, Inc.., Lumin, Assure, and the Cyber Exposure Company are trademarks of Tenable, Inc. All other products or services are trademarks of their respective owners.