hsm_lookup_command
Translate legacy HSM command codes into AWS Payment Cryptography operations. Enter any Atalla, Thales, or Futurex code to get its name, category, and the APC replacement.
Instructions
Call this whenever you see an HSM command code in legacy payment code, documentation, or logs — e.g. "TPIN", "CA", "G0", "M6", "CC", "CI", "CW", "CY", "B2", "KQ", "GW", or numeric Atalla codes like "31", "5D". Works without AWS credentials.
Returns the command name, category (PIN/MAC/CVV/KEY_MGMT/ENCRYPT/ARQC), description, and the APC operation + key type that replaces it.
Coverage: Futurex Excrypt (authoritative), Thales payShield legacy + international (authoritative/reference quality), Atalla numeric codes (directory quality).
Args: command_code: The HSM command code, e.g. "TPIN", "CA", "31" api: Optional API filter — "Excrypt", "Standard", or "International"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | No | ||
| command_code | Yes |