1. A method, executed by a computing device, to select a credential based on a state of a target device, the method comprising: obtaining an identifier and system state of the target device to establish a near field communication link; processing the system state of the target device according to a rules engine to determine a next action for the target device; based on the next action for the target device, selecting the credential associated with the identifier of the target device; and transmitting the credential to the target device to perform the next action.