As illustrated in FIG. 2, the security key 20 programmed with the SDC is then positioned to operatively engage the security device 40. In the embodiments shown and described herein, the security device is a conventional cabinet lock that has been modified to be unlocked by the programmable electronic key 20. Preferably, the security device 40 is a “passive” device. As used herein, the term passive is intended to mean that the security device 40 does not have an internal power source sufficient to perform any functions (e.g., lock and/or unlock a mechanical lock mechanism). Significant cost savings are obtained by a retailer when the security device 40 is passive since the expense of an internal power source is confined to the security key 20, and one such key is able to operate multiple security devices. If desired, the security device 40 may also be provided with a temporary power source (e.g., capacitor or limited-life battery) having sufficient power to activate an alarm, for example a piezoelectric audible alarm, that is actuated by a sensor, for example a contact, proximity or limit switch, in response to a security breach. The temporary power source may also be sufficient to communicate data, for example a SDC, from the security device 40 to the security key 20 to authenticate the security device and thereby authorize the key to provide power to the security device. With this embodiment of the present invention, the mechanical lock mechanism is operated by electrical power that is transferred from the key 20 to the security device 40 via electrical contacts, as will be described.