Hi @Jonathan Thanks for reaching out. We don't have a Microsoft standard /official method of rotating secrets. Most customers use what's available on GitHub and they customize according to their needs. If the problem with the existing samples is purely lack of workload identity, It's still in preview.
Do let me know if you have any queries.
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.