You can create a least privileged user named LPU for Arista EOS by running the following command in the Arista EOS CLI. Note that the management pack requires a least privileged user with the operator role, the default role given to a user by Arista EOS.
switch(config) #username LPU secret PASSWORD
Note: If you are using Arista EOS version 4.21 or higher, the user will need to have the
administrator role rather than the operator role. This can be accomplished by running the following command after the one listed above:
switch(config) #username LPU role network-admin
For more information, see Arista's EOS documentation