Hi everyone it looks like the current solution recommended by forgerock is the following:
https://backstage.forgerock.com/docs/idcloud/latest/identities/sync-identities.html#synchronize_passwords