Coconut oil for vagina

Is it safe to use on your vagina as a moisturizer or to shave with or can it cause a yeast infection or bv ?