You enable the privilege recorder by using the vSphere Client to modify the vCenter Server configuration file, vpxd.cfg.

Prerequisites

Verify that you have enough privileges to run your workflow. A user with the Administrator role is recommended.

Procedure

  1. Log in to the vCenter Server by using the vSphere Client.
  2. Navigate to the vCenter Server instance.
  3. Select Configure > Advanced Settings.
  4. Click Edit Settings.
  5. Add the settings.
    Scroll down and in the Name field, enter the name of the setting, and in the Value field, enter the value for the specified setting.
    Setting Description
    config.vpxd.privCheck.bufferSize The count of privileges to be kept in memory. The default value is 0. If you do not change the default value, the privilege checks recorder does not record any data.
    config.vpxd.privCheck.cleanupInterval The interval on which privilege checks for unused sessions are cleaned up. The default value is 30 minutes.
  6. Click Add and Save.

What to do next

See Performing Privilege Checks Operations in VMware vSphere Automation SDKs Programming Guide.