Copy Symmetric Key (CPYSYMKEY)

The CPYSYMKEY command allows authorized users to copy Data Encryption Keys (Symmetric Keys) between Key Stores.   

The following users can use the CPYSYMKEY 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 DEKs” authority setting

The user must have *CHANGE authority to the Key Store Validation List (*VLDL) object into which the Key(s) will be copied.

How to Get There

From the Symmetric Encryption Key Menu, choose option 14.

Options

From key label (FRMLABEL)

Indicate the label of the Symmetric Key to copy.

The possible values are:

from-key-label Indicate the label name of the Symmetric Key to copy.
*ALL Copy all Symmetric Keys from the Key Store indicated.
From key store name (FRMKEYSTR)

Indicate the object name and library of the Key Store which contains the Symmetric Key(s) to copy.

key-store-name Enter the name of the Key Store.
*DEFAULT Use the default Key Store name specified at the Key Policy level.

The possible library values are:

library-name Enter the name of the library where the Key Store is located.
To key label (TOLABEL)

The possible values are:

to-key-label Indicate the label of the new Symmetric Key to create.
*FRMLABEL Use the same label name specified on the FRMLABEL parameter.
To key store name (TOKEYSTR)

Indicate the object name and library of the Key Store to copy the Symmetric Key(s) into.

key-store-name Enter the name of the Key Store.
*FRMKEYSTR Copy the Symmetric Key(s) into the same Key Store specified in the FRMKEYSTR parameter.

The possible library values are:

library-name Enter the name of the library where the Key Store is located.