For a project I'm working on I'd like to adopt the C4 diagramming language to illustrate technical designs. In order to manage changes to the designs I'd like to use PlantUML so that I can express the diagrams as text which can be tracked in a Git repo (Azure DevOps).
The diagrams will appear in a Confluence wiki, but I don't want to manually render and upload the diagrams to Confluence because they will quickly become out of date. My research suggests that the best way around this is to use a PlantUML proxy server which you make a call to, providing the link to the PlantUML (.puml) file in Git as a parameter.
It's easy enough to spin up the PlantUML server in Azure as a docker container, but it seems pretty complicated to manage the authentication between it, Confluence, and the git repo. I've seen that there is also a Confluence plugin available but I wanted to check with the community whether this is the easiest solution or whether there's anything else that I haven't considered?