fix for - create a secret - doesn't trim content type

	Closes-Bug: #1252873

Change-Id: I36da22f28c3d69cfa1902d3cc73e2950ea6acbec