President Donald Trump says he will defer to his defense secretary on the use of torture.