Deletes a key definition from a key storage table. The PROCESS
logical name table is the default unless otherwise specified.
Format for the ENCRYPT /REMOVE_KEY Command
ENCRYPT /REMOVE_KEY key-name [qualifiers]
1 – Parameters
key-name
Key name previously stored in the key storage table with the
ENCRYPT /CREATE_KEY command.
2 – Qualifiers
2.1 /AES
Designates that an AES key is to be deleted. Specifying a unique
key name and table is sufficient for deletion, making the /AES
qualifier unnecessary but included for clarification.
2.2 /GROUP
Deletes the key definition from the group key storage table.
2.3 /JOB
Deletes the key definition from the job key storage table.
2.4 /PROCESS
Deletes the key definition from the process key storage table.
2.5 /SYSTEM
Deletes the key definition from the system key storage table.
3 – Example
$ ENCRYPT /REMOVE_KEY MYKey /AES
This command removes or deletes the AES key, MYKEY.