Generate API Keys
API keys allow you to authenticate as a specific user for Tenable Enclave Security API requests. Administrators can generate API keys for any user account. Other roles can generate API keys for user accounts with the same role. For more information, see API Key Authentication.
Note: If you generate API keys for a user that already has API keys, the old keys will be replaced. If you delete existing keys or generate new API keys for a user, Tenable Enclave Security deauthorizes API requests attempted with the old keys.
Before you begin:
-
Enable API keys to allow users to perform API key authentication, as described in Enable API Key Authentication.
To generate API keys:
-
Log in to Tenable Enclave Security via the user interface.
-
In the top navigation, click Settings & Information > Access Control > Users.
The Users page appears.
-
Right-click the row for the user for which you want to generate an API key, and click Generate API Key.
-or-
Select the check box for the user for which you want to generate an API key, and click API Keys > Generate API Key.
A confirmation window appears.
-
Click Generate.
The Your API Key window appears, displaying the access key and secret key for the user.
-
Save the API keys in a safe location.
Note: You cannot view API secret keys in the Tenable Enclave Security interface after initial generation. If you lose your existing secret key, you must generate new API keys.