You don't have to create new accounts or passwords.
- Copy the roles from the config-store\security\roles
config-store\security\roles
- Copy the .json files for the users (not the lock files) from config-store\security\users
config-store\security\users
- Copy users and roles to the same directories on the new server.
- Make sure that on the new server the same roles exist. I had trouble with the roles remaining associated to the users. So there might be a bit of administration work on your end.
- Once you copied the roles and the users, log in as adminadministrator and double check the accounts.
- If they are associated to the a role, then ArcGIS server recognizes the encrypted password and it doesn't need to be changed.
- If they are not, then you'll need to re-associate them, then ArcGIS server recognizes the encrypted password and it doesn't need to be changed.