Add leader key to yi config