IT lexicon › Security › Local master key (LMK)

Local master key (LMK)

Security På svenska → Updated: 2026-10-31

A payment HSM's own master key, the only one living inside the box while every other key sits encrypted outside it.

The term comes from Thales payShield, where nearly everything revolves around it. A bank may hold thousands of keys: zone master keys, terminal keys, PIN keys. The HSM stores none of them. They sit in the host system's database, encrypted under the LMK, and travel with each command to the box, which decrypts them, uses them and forgets them. Atalla's equivalent is called the Master File Key.

The LMK is loaded from smart cards in components held by different custodians, and it is erased if anyone tries to open the casing. Lose it and you have lost every key in the database at once. Older installations use a variant LMK, where a key's type is implied only by which variant encrypted it. Newer ones use TR-31 key blocks, with usage baked in and tamper-evident.

← Back to the lexicon