add validations for provider upsert
add validations for provider upsert

Signed-off-by: Sertac Ozercan <a438f3f0cd2281981c98ef2897c2214832094874@gmail.com>

open-policy-agent/frameworks,open-policy-agent/frameworks