TrueNAS SCALE Version Documentation
This content follows the TrueNAS SCALE 23.10 (Cobia) releases. Use the Product and Version selectors above to view content specific to different TrueNAS software or major version.
Managing API Keys
2 minute read.
Last Modified 2024-03-19 08:38 EDTThe API Keys option on the top right toolbar Settings (user icon) dropdown menu displays the API Keys screen. This screen displays a list of TrueNAS SCALE API keys on your system and allows you to add, edit, or delete keys. API keys identify outside resources and applications without a principal.
To manage API keys in the TrueNAS SCALE CLI, use theauth api_key
namespace.
Click Add to display a dialog window that lets users add a new API key.
Type a descriptive name and click Add. The system displays a confirmation dialog and adds a new API key to the list.
Select the icon for any API key on the list to display options to manage that API key. Options are Edit or Delete.
Select the Reset to remove the existing API key and generate a new random key. The dialog displays the new key and the Copy to Clipboard option to copy the key to the clipboard.
Always back up and secure keys. The key string displays only one time, at creation!
To delete, select Confirm on the delete dialog to activate the Delete button.
Click API Docs to access API documentation that is built into the system.