keychain

Creates a key chain and enters keychain configuration mode.

Syntax

keychain chain-name
no keychain chain-name

Command Default

By default, a key chain is not created.

Parameters

chain-name
Specifies an alphanumeric key chain name, with a minimum of 4 characters and a maximum of 32 characters.

Modes

Global configuration mode

Usage Guidelines

Use the no form of the command to remove the configuration for the key chain.

You can remove a key chain only if it is not used by any application.

You can create no more than 128 key chains.

Examples

The following example creates 3 key chains.

device# configure terminal
device(config)# keychain keychain1
device(config-keychain1)# exit
device(config)# keychain keychain2
device(config-keychain2)# exit
device(config)# keychain keychain3
device(config-keychain3)#