Change Field Encryption Key (CHGFLDKEY)
The CHGFLDKEY command allows authorized users to change (rotate) the keys used to encrypt and decrypt data for a field entry in the Encryption Registry. Up to 99,999 keys can be rotated for a field entry.
This command can be used for *INACTIVE field entries, as well as *ACTIVE field entries that store the encrypted field values in an external file.
The following users can use the CHGFLDKEY command:
- QSECOFR user profile (unless excluded in the Key Officer settings)
- A user profile with *SECADM authority (unless excluded in the Key Officer settings)
- A Key Officer that has a *YES specified for the “Maintain Field Enc. Registry” authority setting
This command requires that you have *CHANGE authority to the CRVL002 Validation List (*VLDL) object, which contains the Field Encryption Registry.
Do the following steps to change the keys for a field entry in the Encryption Registry:
- Prompt (F4) the command CRYPTO/CHGFLDKEY.
- Press F1 on any parameter for complete online help text.
- Press Enter after the parameter values are specified.
How to Get There
From the Field Keys Menu, choose option 2, Change Field Encryption Key. Or, in the Work with Field Encryption Registry (WRKFLDENC) panel, choose option 10 for an item. Or, execute the command CHGFLDKEY.
Options
Field identifier (FLDID)
Indicate the unique name of the field entry to change the keys for.
Encryption key label (ENCKEYLBL)
Indicate the label of the Symmetric Key to use for encrypting the field values.
Encryption key store name (ENCKEYSTR)
Indicate the object name and library of the Key Store which contains the Symmetric Key to use for encryption of the field.
The users (or user groups) which need to encrypt values will need to have at least *USE authority to this Key Store object.
The possible values are:
The possible library values are:
Decryption key label (DECKEYLBL)
Indicate the label of the Symmetric Key to use for decrypting the field values.
The possible values are:
Decryption key store name (DECKEYSTR)
Indicate the object name and library of the Key Store which contains the Symmetric Key to use for decryption of the field.
The users (or user groups) that need access to the decrypted values will need to have at least *USE authority to this Key Store object.
The possible values are:
The possible library values are: