Skip to content
Latest
The accounts VCF Password Management does not show you
VMware Cloud Foundation December 4, 2026 7 min read Verified accurate

The accounts VCF Password Management does not show you

Password Management in VCF Operations is nice when everything in it is green. The catch is that it only shows you the accounts SDDC Manager knows about, and the list of accounts SDDC Manager knows about isn’t the same as the list of accounts that exist. I found two gaps while chasing a “password expiring in the next 30 days” alert, and neither showed up as a problem anywhere in the UI.

TL;DR

  • The UI and the API don’t list the same accounts. The API includes the service accounts SDDC Manager uses itself.
  • On NSX Edge nodes SDDC Manager manages root and admin. If someone has enabled audit on the edges, nothing in VCF rotates it or warns you when it expires.
  • Sort Password Management by Last Modified. Accounts left behind by an earlier rotation stand out straight away, and they are usually the ones behind expiry alerts.
  • Rotate by ticking the rows you want. Don’t rely on Rotate All Passwords.

The UI list and the API list

Password Management in my management domain showed 14 accounts. The API showed 23. You can get the full list from the SDDC Manager shell. First a token, with the password read from a prompt so it doesn’t end up in your shell history:

read -rp 'SSO user: ' U; read -rsp 'Password: ' P; echo
TOKEN=$(curl -sk -X POST https://localhost/v1/tokens -H 'Content-Type: application/json' -d "{\"username\":\"$U\",\"password\":\"$P\"}" | python3 -c 'import sys,json;print(json.load(sys.stdin)["accessToken"])'); unset P

Then the accounts:

curl -sk https://localhost/v1/credentials -H "Authorization: Bearer $TOKEN" | python3 -c 'import sys,json;[print(c["resource"]["resourceName"],c["resource"]["resourceType"],c["credentialType"],c["username"]) for c in json.load(sys.stdin)["elements"]]'
sddc.example.local BACKUP FTP backup
esx01.example.local ESXI SSH root
esx01.example.local ESXI SSH svc-vcf-esx01
...
edge01.example.local NSXT_EDGE SSH root
edge01.example.local NSXT_EDGE API admin
edge02.example.local NSXT_EDGE SSH root
edge02.example.local NSXT_EDGE API admin
nsx.example.local NSXT_MANAGER SSH root
nsx.example.local NSXT_MANAGER API svc-sddc-nsx-xxxx
nsx.example.local NSXT_MANAGER AUDIT audit
nsx.example.local NSXT_MANAGER API admin
vc.example.local PSC SSO [email protected]
vc.example.local VCENTER SSH root
vc.example.local VCENTER SSO [email protected]

The extra nine are the service accounts: one svc-vcf account per ESX host, one for NSX Manager and one in vCenter SSO. SDDC Manager creates and rotates those itself and keeps them out of the UI. That is fine, but it’s worth knowing they exist when someone asks you for a full account inventory.

Notice what is on NSX Manager and what isn’t on the edges. NSX Manager has root, admin and audit. Each edge has root and admin only.

Checking the edges for yourself

The NSX API can list the local users on every edge transport node. This finds the edges and loops over them:

read -rsp 'NSX admin password: ' NP; echo
curl -sk -u "admin:$NP" 'https://nsx.example.local/api/v1/transport-nodes?node_types=EdgeNode' | python3 -c 'import sys,json;[print(n["id"],n.get("display_name","")) for n in json.load(sys.stdin)["results"]]' | while read id name; do echo "== $name ($id)"; curl -sk -u "admin:$NP" "https://nsx.example.local/api/v1/transport-nodes/$id/node/users" | python3 -c 'import sys,json;[print("  ",u.get("username"),u.get("userid"),u.get("status")) for u in json.load(sys.stdin).get("results",[])]'; done; unset NP
== edge01 (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
   guestuser2 10004 NOT_ACTIVATED
   root 0 ACTIVE
   admin 10000 ACTIVE
   guestuser1 10003 NOT_ACTIVATED
   audit 10002 ACTIVE
== edge02 (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
   guestuser1 10003 NOT_ACTIVATED
   root 0 ACTIVE
   admin 10000 ACTIVE
   guestuser2 10004 NOT_ACTIVATED
   audit 10002 ACTIVE

There it is. audit was active on both edges. As far as I know it starts out disabled on a fresh edge, so at some point someone had turned it on, and SDDC Manager had never been told. That means an active login on every edge with a 90 day password expiry that no part of VCF is watching.

Be careful typing the password in that loop. NSX locks admin after five failed attempts, for both the API and the UI.

You can see the expiry settings for one user with:

curl -sk -u admin "https://nsx.example.local/api/v1/transport-nodes/<edge id>/node/users/10002"

The fields to look at are last_password_change (in days), password_change_frequency and password_change_warning.

Deciding what to do with it

If nobody needs a read only login on the edges, turn it off. One call per edge:

curl -sk -u admin -X POST "https://nsx.example.local/api/v1/transport-nodes/<edge id>/node/users/10002?action=deactivate"

The response comes back with "status": "NOT_ACTIVATED". Before you do it, find out whether anything logs in as audit: a SIEM collector, a compliance scanner, a monitoring check. Also ask whoever owns your hardening baseline, since some of them want the audit account kept.

If you do need it, keep it, but put it on your own rotation schedule and in your own inventory, because VCF won’t remind you. If you ever want it back after deactivating it, the same endpoint takes ?action=activate with a new password in the body.

After deactivating it on both edges, the only active accounts left there were root and admin, which are exactly the two SDDC Manager manages.

The accounts that got left behind

The expiry alert itself turned out to be a different gap. Password Management showed everything as Active, so at first glance there was nothing wrong. The Last Modified column told a different story. Nearly every account had been rotated on the same day a few days earlier, apart from root on all four ESX hosts, which hadn’t changed in over two months.

So an earlier rotation had skipped the hosts. With a 90 day policy on the hosts, those four were going to expire within a month, which is exactly what the alert was about.

Password Management list with four ESX root accounts last modified two months earlier than everything else
Before: everything rotated on the same day except the four ESX root accounts. Hostnames redacted. You can check the policy on a host under Configure, System, Advanced System Settings, by filtering on Security.PasswordMaxDays.

The fix was to tick the four ESX root rows and rotate just those. A few minutes later all four showed a new Last Modified time. While I was there I rotated the rest as well, so all 14 accounts now share the same date, and the next round of expiry warnings will arrive together instead of in dribs and drabs.

Password Management list with every account showing the same Last Modified date
After: all accounts rotated together. Hostnames redacted.

A note on Rotate All Passwords: an earlier attempt at this had failed with List of entities must be supplied for rotate operation, meaning the request went out with no accounts in it. In my case that was an expired login session, which I wrote up separately, but ticking the rows you want is the safer habit either way.

After any rotation

  • Anything outside VCF that uses these accounts stops working until you give it the new password. Monitoring that logs into NSX as audit or into vCenter as [email protected] is the usual one, plus scripts that SSH to hosts as root.
  • Put the new passwords in your vault. If vCenter or SDDC Manager is down, the ESX root passwords are your way in, and you won’t be able to look them up in VCF.
  • Run a backup of SDDC Manager straight away, since the backup account is part of the rotation, and check it completes.
  • Consider scheduled rotation in Password Management so nothing falls behind again.
Share

Leave a comment

Comments need your full name and email — no anonymous comments. Your email is never published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.