magento 2.3 customer password from admin code example
Example: create admin password in magento 2
bin/magento admin:user:create --admin-user="admin2" --admin-password="admin123" --admin-email="[email protected]" --admin-firstname="Amin" --admin-lastname="Admin"