I’m implementing a Python application for monitoring VM resource usage with pyVmomi. The application needs read values like memory / disk usage.
Because the password must be stored somehow, I’d like to use a read-only account for accessing the API. However, if I create a user to vCenter domain “vsphere.local” with “Read-only” role, pyVmomi
connect.SmartConnect throws a MethodFault “Permission to perform this operation was denied.”
Is it possible to create a read-only account for this purpose? How?