Skip to main content

security key-manager key key-table modify

Contributors
Suggest changes

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

Description

This command modifies an entry in the key table. Changes made using this command do not affect the key; only the table entry is modified, not the key itself.

Parameters

-key-id <Hex String> - Key ID

This parameter specifies the key ID of the entry to be modified.

[-key-type <Key Usage Type>] - Key Usage Type

If this optional parameter is specified, the key type field is modifed accordingly.

[-encryption-algorithm <text>] - Encryption Algorithm For The Key

If this optional parameter is specified, the encryption algorithm field is modified accordingly.

[-creation-time <MM/DD/YYYY HH:MM:SS>] - Key Creation Time

If this optional parameter is specified, the creation time field is modified accordingly.

Examples

The following example shows the key table before and after the modify command:

cluster-1::> security key-manager key key-table show

Key ID                                                                            Key Type Encryption   Creation Time
--------------------------------------------------------------------------------- -------- ------------ --------------------
00000000000000000200000000000500e9ccf3f08e7533d9cd0298e1ebe6c1190000000000000000  VEK      XTS-AES-256  1/1/2022 10:00:00

cluster-1::> security key-manager key key-table modify -key-id 00000000000000000200000000000500e9ccf3f08e7533d9cd0298e1ebe6c1190000000000000000 -creation-time "12/25/2022 00:00:00"

cluster-1::> security key-manager key key-table show

Key ID                                                                            Key Type Encryption   Creation Time
--------------------------------------------------------------------------------- -------- ------------ --------------------
00000000000000000200000000000500e9ccf3f08e7533d9cd0298e1ebe6c1190000000000000000  VEK      XTS-AES-256  12/25/2022 00:00:00