Most metal sheds have thin walls. You may be able to drive heavy-duty deck screws through the walls to mount the pegboard. Put a small amount of roof and gutter silicone around the drill holes/washers to seal up any gaps and prevent moisture from getting into your shed.