HSA for retirees on Social Security?

Looking for insight on this topic.  If a taxpayer is over 65 and on Medicare, can he still contribute to HSA and get the tax credit for HSA contributions?