config for device with hardware key