Userprincipalname opendistro

Hello, everyone,
Could you help me how to change it in the config.yml so that the security plugin is looking for a user not by sAMAccountName, but by userPrincipalName?