Skip to main content

security key-manager keystore enable

Contributors
Suggest changes

Enable or switch to an inactive keystore configuration

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

This command enables the keystore represented by the supplied Vserver, keystore-type, and config-name combination. If the specified Vserver already has a keystore enabled, then the enabled configuration is switched to the desired keystore configuration and the previous configuration is left in an inactive/disabled state.

Parameters

-vserver <vserver name> - Vserver Name

Use this parameter to specify the Vserver of the desired configuration.

-keystore-type <Key Store Type> - Keystore Type

Use this parameter to specify the keystore type of the desired configuration.

-config-name <text> - Configuration Name

Use this parameter to specify the configuration name of the desired configuration.

Examples

The following example enables a configuration named sampleConfig for the configured AKV on Vserver vsTest.

cluster-1::> security key-manager keystore enable -vserver vsTest -keystore-type AKV -config-name sampleConfig

The following example switches the configuration on Vserver vsTest to a new keystore configuration named newConfig.

cluster-1::> security key-manager keystore enable -vserver vsTest -keystore-type AKV -config-name newConfig