FIGS. 5-8 show an embodiment of a security key, also referred to herein as a programmable electronic key, 20 according to the present invention. As previously mentioned, the security key 20 is configured to transfer both data and power to a security device 40 that comprises an electronic lock mechanism and a mechanical lock mechanism, as previously described. Accordingly, the programmable electronic key 20 must be an “active” device in the sense that it has an internal power source sufficient to operate the mechanical lock mechanism of the security device 40. As a result, the programmable electronic key 20 may be configured to transfer both data and power from an internal source disposed within the key, for example a logic control circuit and a battery. The embodiment of the programmable electronic key 20 depicted in FIGS. 5-8 is a security key configured to be received within the transfer port 42 of the cabinet lock 40 shown in FIG. 4, as well as within the programming port 62 of the programming station 60 (FIG. 2; FIG. 3A) and the charging port 82 of the charging station 80 (FIG. 3B; FIG. 9A; FIG. 9B). The programmable electronic key 20 comprises a logic control circuit for performing a handshake communication protocol with the logic control circuit of the programming station 60 and for receiving the SDC from the programming station, as previously described. The logic control circuit of the programmable electronic key 20 further performs a handshake communication protocol with the logic control circuit of the security device 40 and transfers the SDC to the device or permits operation of the device, as previously described. As previously mentioned, the data (e.g., handshake communication protocol and SDC) may be transferred by direct electrical contacts, optical transmission, acoustic transmission or magnetic induction.