make sure both secrets are set and not empty