Configures a unique key ID in a key chain and enters key configuration mode.
By default, a key ID is not configured.
Global configuration mode
Use the no form of the command to remove the specified key and all associated configuration.
You can configure no more than 8 keys per key chain.
The following example configures a key with an ID of 10 in key chain 1.
device# configure terminal device(config)# keychain keychain1 device(config-keychain1)# key 10 device(config-keychain1-key10)#