added secret key base lookup to secrets