Prime Minister Sir Keir Starmer announced the plans for the wider scheme last month as part of efforts to clamp down on illegal working. It will be introduced by 2029 and mandatory in order to work.

The digital veteran card is optional but the government says it will allow former service personnel to show their entitlement to services such as GP and mental health support, supported housing, careers advice as well as reduced entry prices at museums and money off their shopping.

Murray said the veterans ID was “probably a demonstration to the public by default… on the basis that this is the first use case for having a digital credential on your smartphone, and that digital credential is the first sort of verifiable one that government have now launched”.

Technology Secretary Liz Kendall said: “We are modernising our public services so they work around people’s lives and keep pace with the digital world we live in.

“The digital veterans’ card will help remove barriers, reduce red-tape and make it easier for people to access the public services they need.”

The digital veteran card will be the first document to be stored in the government’s One Login smartphone app, with digital driving licences set to follow at a later date.