--- title: "Adding the API key to the virtual File Protect appliance using the CLI" slug: "adding-the-api-key-to-the-virtual-file-protect-appliance-using-the-cli-1" updated: 2026-09-08T22:56:48Z published: 2026-09-08T22:56:48Z canonical: "docs.trellix.com/adding-the-api-key-to-the-virtual-file-protect-appliance-using-the-cli-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Adding the API key to the virtual File Protect appliance using the CLI To add the API key to the virtual File Protect appliance using the CLI: 1. Log in to the appliance CLI. 2. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 3. Enable the DOD integration: ``` hostname (config) # detection-on-demand enable ``` 4. Add the DOD API authentication key with description: ``` hostname (config) # detection-on-demand api-authentication-key add description ``` 5. Verify the DOD connection status: ``` hostname (config) # show detection-on-demand status ``` :