Hi all,
I created script (Python, PS) for monitoring VSAN cluster. I have user on VCenter, which has right read-only. I have user on ESXi host, which same right (read-only). On VCenter is everthing ok, API return data. But on ESXi host it's not function with read-only user.
Python API return:
- "pyVmomi.VmomiSupport.vim.fault.NotAuthenticated: (vim.fault.NotAuthenticated)"
Powershell API return:
-"Core_BaseCmdlet_UnknownError,VMware.VimAutomation.Storage.Commands.Cmdlets.Vsan.GetVsanView"
I tried assign administrator permission to user, but same result. When I tried root user, API return data.
What is minimum permission on ESXi host for user for use API ?
PS: I tried cmdlet Get-VSANView -Id "HostVsanHealthSystem-ha-vsan-health-system"
Thanks a lot for respons