How you configure a data set encryption key for a queue manager.
Procedure
-
Set up an AES-256 bit encryption DATA key with a label, for example,
CSQ1DSKY,
using the z/OS®
key generator utility program (KGUP).
- Define the RACF CSFKEYS profile for the
CSQ1DSKY encryption key, by
issuing the following command:
RDEFINE CSFKEYS CSQ1DSKY UACC(NONE)
- Configure the ICSF segment of the profile to allow the key to be used as a protected key,
by issuing the following command:
RALTER CSFKEYS CSQ1DSKY ICSF(SYMCPACFWRAP(YES) SYMCPACFRET(YES))
- Allow the queue manager to use the encryption key by giving QMCSQ1 READ access to the
profile, by issuing the following command:
PERMIT CSQ1DSKY CLASS(CSFKEYS) ID(QMCSQ1) ACCESS(READ)
Give the same access to any administrative user that needs to read or write the
encrypted data set.
- Refresh the CSFKEYS class by issuing the following command.
SETROPTS RACLIST(CSFKEYS) REFRESH
What to do next
Configure data set encryption for the data sets as described in Configuring data set encryption for the log data sets