Mr Ruto and his family were not at the compound close to the western city of Eldoret at the time.
The man had entered the living arrangement subsequent to harming a police watch with a blade and taking his weapon, police said.
The occurrence comes days before Kenya holds presidential decisions.
Police boss Joseph Boinnet told nearby media the circumstance was presently “under control”.
“There is no danger now since he was the just a single.”
There were no further insights about the assault.
Prior reports recommended various shooters had entered Mr Ruto’s home, however police later cleared up there was just a single assailant.
There have been clashing reports about what number of weapons the assailant utilized.
Mr Boinnet disclosed to Capital FM News that just a single gun, having a place with the security protect, had been recuperated from the shooter.
In any case, Rift Valley Regional Co-ordinator Wanyama Musiambo told journalists the assailant had utilized various weapons subsequent to softening into a police ordnance up the compound.
“From the trading of flame we thought it was more than one assailant, since he utilized diverse guns,” he said in cites conveyed by Reuters news organization.
“After the operation we found that it was one shooter, but since he was inside there, he could change positions and guns since he approached the firearms. What’s more, the firearms he was utilizing were our own,” he included.
The representative president had left the home hours before the assault, making a beeline for a crusade rally in the town of Kitale with President Uhuru Kenyatta.
Mr Kenyatta is looking for re-race on 8 August. Authoritative and local decisions will likewise be hung around the same time.
While Kenya’s 2013 races passed generally gently, there was not kidding post-decision brutality following the 2007 surveys, which left more than 1,000 individuals dead and 600,000 dislodged from their homes.
Be that as it may, specialists say they don’t hope to see a similar level of contention in the coming races.
AreKenyan.com | Kenyan police kill attacker at home of Kenya’s Vice President