A better method of pulling secret config