Skip to main content

security key-manager keystore show

Contributors
Suggest changes

Displays the configured key manager keystores.

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

Description

This command displays all keystore configurations.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <Vserver Name>] - Vserver

If you specify this parameter, then the command displays only the keystore configurations with the given Vserver.

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

If you specify this parameter, then the command displays only the keystore configurations with the given keystore type.

[-config-name <text>] - Configuration Name

If you specify this parameter, then the command displays only the keystore configurations with the given configuration name.

[-enabled {true|false}] - Configuration Is Enabled?

If you specify this parameter, then the command displays only the keystore configurations with the given enabled value.

[-uuid <UUID>] - Key Store UUID

If you specify this parameter, then the command displays only the keystore configuration with the given universal unique identifier (UUID) value.

[-state <Key Store state>] - Key Store State

If you specify this parameter, then the command displays only the keystores with the given state.

Examples

The following example lists all keystore configurations.

Cluster-1::*> security key-manager keystore show

Vserver                Keystore Type  Config Name        Enabled
---------------------- -------------- ------------------ -------
Cluster-1              OKM            default            true
vs0                    AKV            default            true
vs0                    AKV            AKV-Config-1       false
vs1                    AKV            AWS-Config-1       true
4 entries were displayed.

The following example lists only the keystore configurations that are enabled.

Cluster-1::*> security key-manager keystore show -enabled true

Vserver                Keystore Type  Config Name        Enabled
---------------------- -------------- ------------------ -------
Cluster-1              OKM            default            true
vs0                    AKV            default            true
vs1                    AKV            AWS-Config-1       true
3 entries were displayed.