Select multiple devices or device groups and right-click on one of the selected items. From the right-click menu, select Bulk Field Change > Credentials.
Select the credentials you want to associate with the selected devices from the pull-down menus.
Credentials are configured in the Credentials Library. You can associate credentials manually on the Device Properties - Credentials dialog.