soy beans

Yesterday I went to the supermarket and found... Fresh green soy beans! I thought "hey, isn't this edamame?"

I was about to buy some, but then I realized I don't actually know how to cook them. They are sold in a plastic container, and without the pods. I can't tell wether they are already boiled or not (i think they are not). But anyway...

Hoy do I cook them? Should I boil them? And for how long?
And the most important thing: How long will they last in my fridge once boiled???

I truly love edamame and i wouldn't mind to eat them on a regular basis... any help?