Introducing sso-users – A Fast Go CLI for vCenter SSO User Auditing

I built sso-users—a lightweight Go application that connects directly to the VMware Directory Service (vmdir) over LDAPS and reports local SSO users together with their password expiration status.

The project was originally created for VMware Cloud Foundation (VCF) 9 environments, but it should works anywhere the vCenter SSO directory is available over LDAP.

Where to find it -> here in repository musil/vSphere_scripts on GitHub.

Why I Built It

When performing security reviews or compliance audits, one of the recurring questions is:

  • Which local SSO accounts exist?
  • Are any passwords already expired?
  • Which accounts never expire?
  • Are any accounts disabled or locked?

Some of the questions can be answered by PowerCLI and the VMware.vSphere.SsoAdmin module. But not all. I wanted something that:

  • runs anywhere
  • has zero PowerShell dependencies
  • is easy to automate
  • can be integrated into monitoring systems
  • exposes the data over a simple REST API

So I wrote sso-users in Go.

What It Does

The application connects securely to vmdir using LDAPS and retrieves local SSO accounts.

For every user it calculates password expiration based on the directory attributes and displays information including:

  • Username
  • User Principal Name (UPN)
  • Disabled state
  • Locked state
  • Password never expires
  • Password last changed
  • Password expiration date (if is not set to password never expire)
  • Days remaining until expiration (if is not set to password never expire)

Instead of relying on the vSphere UI, the tool reads the information directly from LDAP, making it fast and script-friendly. (GitHub)

Flexible Output

The CLI supports multiple output formats depending on your workflow.

For administrators:

  • Human-readable table output

For automation:

  • JSON output

This makes it easy to integrate with:

  • monitoring systems
  • scheduled compliance reports
  • inventory scripts
  • CI/CD pipelines

Built-in REST API

Besides the CLI, sso-users can also run as a small HTTP service.

The API is protected with a bearer token and exposes:

  • /health
  • /api/v1/users

This makes it straightforward to integrate with dashboards, Grafana, custom portals, or other internal tooling without repeatedly invoking the CLI. (GitHub)

Security First

Security was one of the design goals.

The application:

  • supports interactive password prompts
  • can read credentials from environment variables
  • avoids logging passwords or API keys
  • supports trusted TLS certificates
  • allows -insecure only for internal or lab environments with self-signed certificates

It also avoids placing passwords in shell history whenever possible. (GitHub)

Why Go?

Go is a great fit for infrastructure tools.

The resulting binary is:

  • cross-platform
  • fast
  • easy to distribute
  • dependency-free

Release builds are available for:

  • Linux (amd64)
  • Windows (amd64)
  • macOS (Apple Silicon)

Open Source

The project is completely open source, and I hope it becomes useful for VMware administrators, consultants, and anyone responsible for auditing vCenter environments.

Feedback, bug reports, feature requests, and pull requests are always welcome.

Happy automating!

Upgrading VMware Cloud Foundation (VCF) 9.0.2…

Upgrading VMware Cloud Foundation (VCF) 9.0.2 to 9.1: The Ultimate Step-by-Step Runbook Phase 1 – #vExpert Mohammed Viquar Ahmed

Upgrading VMware Cloud Foundation (VCF) 9.0.2…

The release of VMware Cloud Foundation (VCF) 9.1 brings massive architectural shifts to Broadcom’s flagship private cloud platform. If you are currently running VCF 9.0.2, moving to 9.1 isn’t just a simple patch; it’s a transition to a highly consolidated, unified VCF Management Services layer. [..]


Broadcom Social Media Advocacy

Understanding the Benefits of Auto-RAID in…

Understanding the Benefits of Auto-RAID in VMware vSAN for Enhanced Data Resilience – #vExpert Mohammed Viquar Ahmed

Understanding the Benefits of Auto-RAID in…

With every new release of VMware Cloud Foundation (VCF), users expect fresh features and improvements that make managing infrastructure easier and more efficient. The Auto-RAID feature introduced in vSAN with VCF 9.1 is one such advancement. While some updates target specific challenges, Auto-[…]


Broadcom Social Media Advocacy

Broadcom Publishes the VCF 9.1 Identity Design…

Broadcom Publishes the VCF 9.1 Identity Design Best Practices Whitepaper – #vExpert Sarge (Mohammad) Siddiqui

Broadcom Publishes the VCF 9.1 Identity Design…

Identity Broker topology, SSO models, IdP federation, and role governance the official design guidance for the layer with the longest architectural shadow. Read it before you write the HLD.


Broadcom Social Media Advocacy

Broadcom Publishes the VCF 9.1 Identity Design…

Broadcom Publishes the VCF 9.1 Identity Design Best Practices Whitepaper – #vExpert Sarge (Mohammad) Siddiqui

Broadcom Publishes the VCF 9.1 Identity Design…

Identity Broker topology, SSO models, IdP federation, and role governance the official design guidance for the layer with the longest architectural shadow. Read it before you write the HLD.


Broadcom Social Media Advocacy

AI is making automation more accessible. But…

AI is making automation more accessible. But accessibility without governance introduces risk. In this clip from our on-demand webinar, discover how AI is helping more teams create and modify automation workflows while reinforcing the importance of governance, security, and operational oversight as adoption grows. Watch the full webinar to learn: • Why operational trust is becoming the defining challenge for enterprise AI • How governed orchestration enables AI-driven decision making • Why workload automation is evolving into the enterprise control layer for AI, APIs, and hybrid operations See how Automic V26 helps organizations operationalize agentic AI with trusted execution and governed orchestration. Watch the on-demand webinar: https://lnkd.in/gzfmk88r

AI is making automation more accessible. But…

AI is making automation more accessible. But accessibility without governance introduces risk. In this clip from our on-demand webinar, discover how AI is helping more teams create and modify automation workflows while reinforcing the importance of governance, security, and operational oversight as adoption grows. Watch the full webinar to learn: • Why operational trust is becoming the defining challenge for enterprise AI • How governed orchestration enables AI-driven decision making • Why workload automation is evolving into the enterprise control layer for AI, APIs, and hybrid operations See how Automic V26 helps organizations operationalize agentic AI with trusted execution and governed orchestration. Watch the on-demand webinar:…Read More


Broadcom Social Media Advocacy

AI is making automation more accessible. But…

AI is making automation more accessible. But accessibility without governance introduces risk. In this clip from our on-demand webinar, discover how AI is helping more teams create and modify automation workflows while reinforcing the importance of governance, security, and operational oversight as adoption grows. Watch the full webinar to learn: • Why operational trust is becoming the defining challenge for enterprise AI • How governed orchestration enables AI-driven decision making • Why workload automation is evolving into the enterprise control layer for AI, APIs, and hybrid operations See how Automic V26 helps organizations operationalize agentic AI with trusted execution and governed orchestration. Watch the on-demand webinar: https://lnkd.in/gzfmk88r

AI is making automation more accessible. But…

AI is making automation more accessible. But accessibility without governance introduces risk. In this clip from our on-demand webinar, discover how AI is helping more teams create and modify automation workflows while reinforcing the importance of governance, security, and operational oversight as adoption grows. Watch the full webinar to learn: • Why operational trust is becoming the defining challenge for enterprise AI • How governed orchestration enables AI-driven decision making • Why workload automation is evolving into the enterprise control layer for AI, APIs, and hybrid operations See how Automic V26 helps organizations operationalize agentic AI with trusted execution and governed orchestration. Watch the on-demand webinar:…Read More


Broadcom Social Media Advocacy

VMware {code} Hackathon for Explore Las Vegas 2026

VMware{code} Hackathon for Explore Las Vegas 2026

VMware {code} Hackathon for Explore Las Vegas 2026

Design with VMware {code}. Code with AI. AI Hackathon • VMware Explore Las Vegas 2026 Monday, August 3rd, 2026 Register Now The VMware {code} Hackathon returns to VMware Explore Las Vegas 2026—but this year we’re doing something different. Artificial Intelligence is transforming how we […]


Broadcom Social Media Advocacy

VMware {code} Hackathon for Explore Las Vegas 2026

VMware{code} Hackathon for Explore Las Vegas 2026

VMware {code} Hackathon for Explore Las Vegas 2026

Design with VMware {code}. Code with AI. AI Hackathon • VMware Explore Las Vegas 2026 Monday, August 3rd, 2026 Register Now The VMware {code} Hackathon returns to VMware Explore Las Vegas 2026—but this year we’re doing something different. Artificial Intelligence is transforming how we […]


Broadcom Social Media Advocacy

Why AI Changes the Security Game

Why AI Changes the Security Game | In this episode, Pete Flecha and John Nicholson welcome back Bob Plankers for a deeper conversation on why AI changes the security game.

Why AI Changes the Security Game

In this episode, Pete Flecha and John Nicholson welcome back Bob Plankers for a deeper conversation on why AI changes the security game. Bob explains how AI is accelerating vulnerability discovery, exploit creation, malware customization, and even end-to-end attack execution. The discussion […]


Broadcom Social Media Advocacy