From The Penguin Dictioary of English Idioms (1986)
And Bob's your uncle! - now you have what you want.
When the young Balfour was given a ministerial post by his uncle, Lord Robert Salisbury, the Prime Minister, members of the opposition said 'Bob's your uncle', meaning that with such an uncle he could have whatever he wanted.
Jim Carroll