An action to challenge the validity of proceedings for the nonjudicial foreclosure of a mortgage on real property, or an action to challenge the validity of a title derived from such proceedings, may be commenced only within one year from the date the sheriff's certificate of sale was recorded in the office of the register of deeds of the county or counties where the affected real property is situated.
SDCL 15-2-5.1