Configure impersonate with kcadm.sh?

Hi,

is it possible to configure impersonate with kcadm.sh or some other way so I can automate the configuration ?.