Two choices both are basically the same;
Add the line entry "KEY=<hex key> or <s
ass-phrase>" to the ifcfg-<something> file or create a keys-<somthing> file with the key. Both (if yo choose the 'keys' file) reside in the /etc/sysconfig/network-scripts directory.