We currently use CyberArk as a secondary storage location for passwords so that authorized support personnel can go view the passwords if they need to do something manually as a Virtual User.
What I found is that it really depends on the Secrets Manager. I haven't used LastPass. I'm assuming it has an API. Honestly, there's a hundred ways syncing passwords can be handled, but what it comes down to for me is how reliable you think the Secrets Manager is as well as how reliable the team is who supports that app. In our case, we decided to rely primarily on Blue Prism's ability to change passwords and then to only use CyberArk as a secondary password repository.
So, I think you'd have to decide whether you intend for that secrets manager to change the passwords for you or just sync your Credential Manager's credentials with that external tool. This is the way I prefer it as it reduces the likelihood of RPA being entirely halted because the external system isn't functioning or the API Endpoint is down or something like that.
As far as tips for syncing, I'd say to be sure you use a work queue with status updates and that your password management process is capable of continuing from where it left off. This way, Blue Prism can change passwords and update Credential Manager but is not dependent on the sync happening immediately. But typically I'd see it happening like (1) Blue Prism changes the password for a User, (2) BP updates any associated credentials in Credential Manager, (3) BP attempts to push the new password(s) to the external secrets manager with retries around that just in case, and then as I always do (4) a final report table at the end for support personnel to review to ensure that all the credentials were managed properly.
------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company