Welcome to the forum!
Well, I'd first start with the battery. I know you said it's ok, but that doesn't mean much to me. Even if it's new, those main high current connectors are always the first suspect. I'd get a multimeter out and start making some measurements on the other side of the connector to verify you have proper voltage. With the ignition on, it needs to be up around 12.5v.
If the battery is OK, the next step is the ignition switch. The kick stand switch only prevents the starter motor from activating, not the fuel pump from priming. When the ignition key is turned on, when the red kill switch is turned on, the fuel pump should prime no matter what. So the first step is to figure out which one of those two switches (the key switch and ignition switch) isn's working.
Flakey relay's are a very common problem on these older Ducati's and the last step would be to measure them out and make sure they're working ok. To do this you will need a manual of some kind to know which pins to apply voltage for testing.
Try those things first and get back to us with what you find. To rule out the battery, use your car's battery with jumper cables. I always do that first!
