The vcenter tagging package provides services for managing tags.
Using vSphere Tags in Large Scale Environments
Writing code to use vSphere tags can be challenging in large-scale environments. In this whitepaper, we discuss the scalability limits of tags, and we give some tips and tricks for writing performant tagging code in either Java or PowerShell.
The Associations service provides operations to list tag associations.