An example of the XML needed to use a Secure Parameter via REST is at Passing secure parameter to fixlet through Api