sysconf ntp symmetricAuth key add
Add an NTP symmetric authentication key.
User Privileges
Users with the following privileges can perform this command:
>Admin
>Operator
Syntax
Syntax from Luna Network HSM 7 appliance version 7.9.0 onward
sysconf ntp symmetricAuth key add -id <keyid> -algorithm <keytype> -value <ntpkey>
| Argument(s) | Shortcut | Description |
|---|---|---|
| -id <keyid> | -i |
Specifies the key ID. Range: 1 to 65535 |
| -algorithm <keytype> | -a |
Specify one of SHA256,SHA384,SHA512,SHA3-224,SHA3-256,SHA3-384,SHA3-512,AES128,AES256) |
| -length <ntpkey> | -l | Specifies the key length (128-4096). |
Syntax prior to Luna Network HSM 7 appliance version 7.9.0
sysconf ntp symmetricAuth key add -id <keyid> -type <keytype> -value <ntpkey>
| Argument(s) | Shortcut | Description |
|---|---|---|
| -id <keyid> | -i |
Specifies the key ID. Range: 1 to 65535 |
| -type <keytype> | -t |
Specifies the key type. Valid values: M,S,A,N From www.ntp.org: >An A key is just a sequence of up to eight ASCII characters (some characters with special meaning can't be used). >An M key is a sequence of up to 31 ASCII characters. >An S key is a 64 bit value with the low order bit of each byte being odd parity. >An N key is a 64 bit value with the high order bit of each byte being odd parity. |
| -value <ntpkey> | -v | Specifies the key value. |