Covering creation of a secret with only content type

bug #1254169

Change-Id: I0f77d931e297befc9c2438d3118b6ba69325ac4f