Add rightsecret condition