Generate API Keys (Classic Interface)
Required User Role: Basic, Scan Operator, Standard, Scan Manager, or Administrator
The API keys associated with your user account enable you to access the API for all Tenable.io products for which your organization is licensed.
Note: Tenable.io API access and secret keys are required to use the Tenable.io API.
Note: The API keys associated with your user account enable you to access the API for all Tenable.io products for which your organization is licensed. You cannot set separate keys for individual products. For example, if you generate API keys in Tenable.io Vulnerability Management, this action also changes the API keys for Tenable.io Web Application Scanning and Tenable.io Container Security.
You can perform this procedure as any user. However, the method to generate API keys varies depending on the role assigned to your user account. Administrators can generate API keys for any user account.
To generate API keys:
Do one of the following:As a standard or basic user:
- In the upper-right corner of the top navigation bar, click your name.
- Click My Account.
The My Account page appears.
In the center pane, click the API Keys tab.
The API Keys section appears.
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.
Tenable.io generates access and secret keys for your account. These keys must be used to authenticate with the Tenable.io REST API.
Caution: After you generate your API key, copy and save the key to a safe location. Without saving the keys, you cannot retrieve the keys from Tenable.io.