AuthorizationService and Automation

I’m trying to automate the creation of clients and i’ve found that I can use the kcreg.sh cli to register clients but that doens’t seem to include the authorization part (Client roles, Resources, Policies and Permissions.)
I can export/import the authorization configurations manually through the GUI but I need a way to create/update the client along with the autorization settings though the cli?