vcf_nsx_vidm

State module for NSX Manager’s vIDM integration.

saltext.vcf.states.vcf_nsx_vidm.enabled(name, vidm_enable=True, profile=None, **spec)[source]

Ensure vIDM integration matches vidm_enable (and any extra spec fields, e.g. vidm_hostname, client_id, client_secret, vidm_domain), preserving other fields from the current config.

name is a label for the state and is not sent to NSX. Note: if the API masks secret-valued fields (client_secret) on read (returning a redacted placeholder rather than the real value), comparing a caller-supplied plaintext secret against that placeholder will always show drift and re-PUT every run — harmless (idempotent on the NSX side) but worth knowing if you see “changed” every time.