Hi, I might be a bit late,
but in order to figure out my auth digest, I used curl:
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'vmware-api-session-id: null' 'https://{vcenter-address}/rest/com/vmware/cis/session' --basic -k --user '{user}:{password}' --verbose
you should write your user name in the form of user@domain rather than domain\user.
in the long output, you should find the HTTP request:
> POST /rest/com/vmware/cis/session HTTP/1.1
> Host: {vcenter-address}
> Authorization: Basic QWRtaW5pc3RyYXjhtrewre2c3BoZXJlLmxvYj65OjM1QmFsTWRBPzY5MA==
> User-Agent: curl/7.52.1
> Content-Type: application/json
> Accept: application/json
> vmware-api-session-id: null
You have your digest (I modified mine) on the third line after Authorization: Basic
You have to keep the equal signs in the end.
Last but not least, in your URL before the Auth Digest, don't forget the https:// and the trailing / (like I did....)
Best Regards,
Etienne