Configuring user federation provider programmatically

Hello,
I have a running FreeIPA server that supports LDAP authentication. I have a running instance of keycloak 16.1 hosted in a kubernetes cluster. Under ‘User federation’ I can configure a connection with my IPA server using LDAP with no issue. Test connection and test authentication are both successful.
Is there anyway to configure the provider without navigating through the UI? I’ve looked through the API documentation but I am not entirely sure what I would be looking for. I found references to LDAP and User Federation but nothing about creating a provider.

(Apologies if terminology is a little off - this is not my usual domain).