Use mongorestore to restore a database to MongoDB with –auth enabled

mongorestore --host databasehost:12345 --username restoreuser --password restorepwd --authenticationDatabase admin --db targetdb ./path/to/dump/
mongorestore --db monitoring --collection items_history_202208 items_history_202208.archive.gz --gzip --archive=items_history_202208.archive.gz --username=user --password=pass --authenticationDatabase=admin

References
https://stackoverflow.com/questions/42349047/use-mongorestore-to-restore-a-database-to-mongodb-3-4-with-auth-enabled-sas