The kra pin number for KDF is P051098785V which is also the pin for Ministry of Defence
The Kenya Defence Forces (KDF ) are the armed forces of the Republic of Kenya. They are made up of the Kenya Army, Kenya Navy, and Kenya Air Force. The current KDF was established, and its composition stipulated, in Article 241 of the 2010 Constitution of Kenya; it is governed by the KDF Act of 2012
Note that in some cases the PIN of a state department is equivalent to that of the ministry it is found in e.g. the PIN for the Ministry of Defence is the same one as that of the State Department of Defence (DOD) / KDF.