Only the UN called it that. The Brits who ran it called it Kenya.
I have an old atlas from the early 1950s. And the area is called Kenya with (Br.) underneath.