--- title: "ntp authentication key" slug: "ntp-authentication-key" tags: ["Reference", "CMS 11.x", "EX 11.x", "HX 10.x", "FX 11.x", "AX 11.x", "NX 11.x", "IVX 11.x", "Customer", "Network Security"] updated: 2026-08-04T17:23:09Z published: 2026-08-04T17:23:09Z canonical: "docs.trellix.com/ntp-authentication-key" stale: true --- > ## 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. # ntp authentication key Adds the same key ID/hash value pair that already exists on an NTP server to the appliance. After a key ID/value pair is added, the key ID must mapped to that NTP server using the command [ntp server authentication](/network-and-platform/docs/ntp-server-server-authentication) . ### Syntax There are two ways to configure the key ID and hash value you obtained from the NTP server. **Prompt Method** The prompt method is recommended, because it accepts all special characters and masks the hash value as you enter it. With this method, press Enter after `<type>` and then enter `<value>` at the prompt. ``` hostname (config) # ntp authentication key hash Key: ``` **Single-Line Method** With this method, enter all parameters on the same line. ``` hostname (config) # ntp authentication key hash ``` ### Parameters `number` The key ID, which is an integer from **1**-**16**. `type` The type of authentication key: **md5** or **sha1**. `value` The key's hash value. ### Example The following example uses the prompt method to add a key ID/value pair to an appliance. ``` hostname (config) # ntp authentication key 6 hash md5 Key: ******************************** hostname (config) # show ntp authentication configured NTP enabled: yes NTP Authentication enabled: yes NTP Key Number 6  Type: md5  Key: ******** ``` ### Command mode Config ### Supported appliances This command was released as follows: - **Email Security — Server:** Release 7.8.0 - **Network Security:** Release 7.9 - **Central Management System:** Release 7.9 - **Intelligent Virtual Execution - Server:** Release 7.9