How did the British Empire treat Kenya?

The British Empire treated Kenya as a slave country and they did not allow them to have any voice. This is what led to the rebellion led by a group known as Mau Mau to evict the colonial rule.