9.1 vCenter Single Sign-On (SSO), Identity Federation & RBAC
Key Takeaways
vCenter Single Sign-On (SSO) centralizes authentication via the Security Token Service (STS), which issues cryptographically signed SAML 2.0 tokens for internal and external service consumption.
The default local identity domain is vsphere.local, with administrator@vsphere.local serving as the bootstrap superuser for initial deployment and identity configuration.
vCenter 9.0 removes IWA and direct AD domain join; use a supported federated provider or AD over LDAPS.
Role-Based Access Control (RBAC) combines a principal (user or group), a role (collection of granular privileges), and an inventory object, with an optional propagation flag.
In permission resolution, explicit object permissions override inherited parent permissions, user assignments override group assignments at the same level, and concurrent group memberships evaluate as a union of privileges.
9.1 vCenter Single Sign-On (SSO), Identity Federation & RBAC
Securing a VMware vSphere Foundation (VVF) 9.0 environment begins with robust identity governance, access boundary definition, and granular privilege enforcement. Virtualization administrators oversee physical compute, software-defined storage, network topologies, and business-critical tenant virtual machines. Granting excessive or unmonitored privileges introduces catastrophic operational and security vulnerabilities. To establish a defense-in-depth posture, vSphere decouples identity verification from access rights through vCenter Single Sign-On (SSO) and Role-Based Access Control (RBAC).
vCenter Single Sign-On (SSO) Architecture & Mechanics
vCenter Single Sign-On operates as an enterprise authentication broker embedded directly within the vCenter Server Appliance (VCSA). SSO brokers supported vCenter-integrated authentication. Direct ESX access, guest accounts and external product role assignments retain their own authorization/configuration requirements.
Authentication vs. Authorization
A foundational principle tested on the examination is the operational separation between authentication and authorization:
- Authentication (AuthN): The process of verifying who the principal is. SSO handles authentication by prompting the user for credentials, validating those credentials against a configured identity source, and issuing a cryptographically signed token.
- Authorization (AuthZ): The process of determining what actions that authenticated principal is permitted to perform. Authorization is handled locally within vCenter Server by evaluating the user's role assignments against target inventory objects in the permissions database.
The Security Token Service (STS)
The core engine within vCenter Single Sign-On is the Security Token Service (STS). When an administrator or programmatic API client initiates a login session:
- The user presents authentication credentials (or an external identity assertion) to the STS endpoint.
- The STS authenticates the identity against the relevant identity provider.
- Upon successful validation, the STS generates and issues a cryptographically signed Security Assertion Markup Language (SAML) 2.0 token.
- The client uses this SAML token to interact with various vCenter services (such as
vpxd, Content Libraries, or the vSphere Lifecycle Manager) without ever transmitting or storing the user's cleartext password in subsequent requests.
The vsphere.local Default Identity Domain
During the initial stage of vCenter Server Appliance deployment, the installer prompts for an SSO domain name, which defaults to vsphere.local. This internal domain creates an isolated, local directory service:
administrator@vsphere.local: The built-in superuser account created during installation. This account possesses unrestricted administrative privileges across the entire SSO domain and vCenter inventory. It is utilized to bootstrap initial infrastructure, configure external identity sources, and recover system access during identity provider outages.- Built-in System Groups: Includes groups such as
Administrators,SystemConfiguration.Administrators, andTrustedAdminused to grant infrastructure-wide authority. - Password & Lockout Policies: Administrators configure maximum password age, complexity rules, and account lockout thresholds specifically for the
vsphere.localdomain via Administration > Single Sign-On > Configuration in the vSphere Client.
Identity Sources: Modern Federation vs. Legacy Protocols
While the vsphere.local domain is essential for bootstrap operations and break-glass emergencies, production enterprise environments require integrating centralized corporate identity providers.
| Identity Source Type | Protocol / Architecture | Deprecation Status | Key Characteristics & Use Cases |
|---|---|---|---|
| OpenID Connect (OIDC) Federation | OAuth 2.0 / OIDC (HTTPS / JSON Web Tokens) | Active (Recommended) | Cloud identity integration (Microsoft Entra ID, Okta, PingFederate); external redirection; native MFA support |
| Active Directory over LDAPS | LDAP over TLS (Port 636) | Active (Standard) | On-premises Active Directory integration; requires enterprise CA root certificate; explicit service bind credentials |
| Active Directory (IWA) | Integrated Windows Authentication (Kerberos/SMB) | Removed in vCenter 9.0 | Requires joining VCSA directly to AD domain; high Kerberos maintenance overhead; legacy design |
| OpenLDAP | LDAP / LDAPS | Active | Integration with non-Microsoft enterprise directory services (OpenLDAP, FreeIPA) |
OpenID Connect (OIDC) Identity Federation
vSphere 9.0 elevates OpenID Connect (OIDC) identity federation as the premier standard for enterprise authentication. Instead of vCenter directly querying a directory via LDAP, vSphere federates trust with an external enterprise Identity Provider (IdP) such as Microsoft Entra ID (formerly Azure AD), Okta, or PingFederate.
When a user logs in via OIDC Federation:
- The vSphere Client login page displays a button redirecting the browser to the corporate IdP login portal.
- The user authenticates directly at the enterprise IdP, completing corporate Multi-Factor Authentication (MFA), conditional access evaluations, and biometric checks.
- The IdP issues a signed JSON Web Token (JWT) ID token and authorization code, redirecting the browser back to the vCenter redirect URI (
https://<vcenter-fqdn>/ui/login/oauth2/code/...). - vCenter SSO validates the token's cryptographic signature against the IdP's JSON Web Key Set (JWKS) endpoint and extracts the user's identity and group memberships.
- vCenter's STS issues an internal SAML token, logging the user into the vSphere Client.
For the federated sign-in flow, the external identity provider handles enterprise authentication and its configured MFA policy. vCenter consumes the trusted authentication result and still enforces its own authorization; local and non-federated accounts have separate authentication paths.
Active Directory over LDAPS vs. Removed IWA
For organizations maintaining traditional on-premises Microsoft Active Directory Domain Services (AD DS):
- LDAPS (Active Directory over LDAP over SSL): The current supported standard. Communicates securely over TCP port 636. Administrators must upload the Active Directory Certificate Authority (CA) root and intermediate certificates to vCenter to establish TLS trust, specify primary and secondary Domain Controller endpoints, and configure a dedicated service account for directory binding.
- Integrated Windows Authentication (IWA) Deprecation: Historically, vCenter joined the Active Directory domain directly using machine accounts and Kerberos. VMware removed in vCenter 9.0 IWA due to architectural complexity, tight coupling with SMB/NetBIOS, Kerberos ticket vulnerability risks, and failure modes when domain controllers experience replication delays. Administrators must actively migrate legacy IWA configurations to either OIDC Federation or AD over LDAPS.
Role-Based Access Control (RBAC) Architecture
Once a user or group is authenticated by SSO, vCenter's Role-Based Access Control engine determines their authorized operational scope. RBAC relies on three core constructs:
1. Privileges
A privilege is an atomic, granular right to perform a specific action within vCenter Server. vSphere defines hundreds of individual privileges categorized by subsystem, such as:
VirtualMachine.Interact.PowerOnVirtualMachine.Config.AddNewDiskDatastore.AllocateSpaceNetwork.Assign
Privileges cannot be directly assigned to users or groups. They must be packaged inside a role.
2. Roles
A role is a named administrative container that groups multiple individual privileges together. vSphere categorizes roles into three classes:
- System Roles: Built-in permanent roles that cannot be modified or deleted:
- Administrator: Grants all privileges across all inventory objects. Users assigned this role can modify permissions, manage certificates, and reconfigure infrastructure.
- Read-Only: Allows users to view the state and configuration of inventory objects, performance charts, and tasks, but prevents executing any state-changing operations.
- No Access: Explicitly denies all access to the assigned object. It acts as an access masking mask; objects assigned No Access become invisible to the user in the inventory tree.
- Sample Roles: Preconfigured role templates provided by VMware covering standard operational duties (such as Virtual Machine Power User, Datastore Consumer, or Network Administrator). These can be cloned and customized.
- Custom Roles: User-defined roles created from scratch by administrators to enforce the principle of least privilege for specific organizational teams (e.g., a Backup-Operator role containing only snapshot creation, deletion, and virtual machine query privileges).
3. Permissions
A permission is the binding rule that brings together three components: an Identity Principal (user or group), a Role (privilege bundle), and an Inventory Object (target resource). Each permission includes a boolean Propagate to children flag:
- When set to
True, the permission cascades down the entire hierarchy beneath that object. - When set to
False, the permission applies strictly to the selected entity and does not affect child items.
Permission Inheritance & Precedence Rules
vSphere inventory is structured as a hierarchical tree: Root Folder > Datacenter > Host/Cluster/Compute Resource > Resource Pool / VM Folder > Virtual Machine (with parallel hierarchies for Datastores and Networks). When a user attempts to execute an action, vCenter evaluates permissions using a strict order of precedence:
Rule 1: Object Proximity (Explicit Beats Inherited)
Permissions defined directly on an inventory object (explicit permissions) always take precedence over permissions inherited from parent objects higher in the tree, regardless of whether the permission is more restrictive or more permissive.
- Scenario: Group
Engineersis assigned theAdministratorrole onDatacenter-01with propagation enabled. On a specific virtual machineVM-Databaseinside that Datacenter, the userjdoe(a member ofEngineers) is explicitly assigned theRead-Onlyrole. WhenjdoeaccessesVM-Database, the explicitRead-Onlyassignment wins.jdoecannot power off or reconfigure that virtual machine.
Rule 2: Principal Specificity (User Beats Group)
If an individual user and a group containing that user are both assigned permissions on the exact same inventory object, the individual user assignment takes precedence over the group assignment.
- Scenario: On
Cluster-A, userasmithis assignedRead-Only. OnCluster-A, the groupCloud-Admins(which includesasmith) is assignedAdministrator. Because both assignments exist at the exact same level of the hierarchy,asmithreceivesRead-OnlyonCluster-A.
Rule 3: Union of Group Permissions
If a user belongs to multiple groups that are assigned different roles on the exact same inventory object, vCenter grants the union of all privileges across those roles.
- Scenario: User
bwhitebelongs toStorage-Admins(assigned a role with Datastore privileges) andNetwork-Admins(assigned a role with Virtual Distributed Switch privileges) onDatacenter-01.bwhitereceives the combined privileges of both roles onDatacenter-01. - No Access is not a universal deny rule across group memberships. At the same object, group privileges combine; a group carrying no privileges does not cancel another group's grant. A direct user assignment can override the group result. Test with the intended principal and inspect inherited and explicit permissions.
Rule 4: Child Masking with 'No Access'
To hide sensitive virtual machines or resource pools from a department that otherwise possesses broad cluster access, an administrator assigns the No Access role directly to that child object with propagation enabled. The child object disappears from the user's inventory view entirely.
Global Permissions vs. Object-Level Permissions
vSphere differentiates between standard object-level permissions and Global Permissions:
| Attribute | Object-Level Permissions | Global Permissions |
|---|---|---|
| Configuration Location | Configured on individual inventory objects (Hosts, VMs, Clusters) | Configured under Administration > Access Control > Global Permissions |
| Scope of Authority | Scoped strictly to the specific vCenter inventory tree where assigned | Applies to supported objects/solutions under the common global-permission root; it does not automatically grant roles inside every integrated product |
| Multi-vCenter Federation | Applies only to the local vCenter Server instance | Propagates across all vCenter instances sharing the same Enhanced Linked Mode / SSO domain |
| Precedence Interaction | Explicit object permissions override inherited global permissions | Provides baseline access; overridden by explicit local object permissions |
Global Permissions are essential for assigning infrastructure-wide privileges, such as granting a centralized security auditing team read-only visibility across all linked vCenter servers and content catalogs with a single configuration entry.
Source Notes
The version-9 identity change is documented in Broadcom KB 314324. Checked October 18, 2026.
Review Takeaways
- vCenter Single Sign-On (SSO) centralizes authentication via the Security Token Service (STS), which issues cryptographically signed SAML 2.0 tokens for internal and external service consumption.
- The default local identity domain is vsphere.local, with administrator@vsphere.local serving as the bootstrap superuser for initial deployment and identity configuration.
- vCenter 9.0 removes IWA and direct AD domain join; use a supported federated provider or AD over LDAPS.
- Role-Based Access Control (RBAC) combines a principal (user or group), a role (collection of granular privileges), and an inventory object, with an optional propagation flag.
- In permission resolution, explicit object permissions override inherited parent permissions, user assignments override group assignments at the same level, and concurrent group memberships evaluate as a union of privileges.
An enterprise architecture team is implementing identity management for a new VMware vSphere Foundation 9.0 environment. Corporate security mandates centralizing authentication with Microsoft Entra ID, enforcing multi-factor authentication (MFA), and eliminating the need to join the vCenter Server Appliance directly to an Active Directory domain. Which identity configuration satisfies these architectural requirements?
Configure OpenID Connect (OIDC) identity federation by registering vCenter Server as an enterprise application within Microsoft Entra ID
Join the vCenter Server Appliance to the Active Directory domain using Integrated Windows Authentication (IWA) and enable Kerberos pre-authentication
Configure Active Directory over LDAP on unencrypted port 389 and enable anonymous binding to the cloud identity service
Deploy a subordinate Certificate Authority inside the vCenter Appliance to establish bidirectional Kerberos realm trust with Entra ID
In vCenter Server, the Active Directory group 'DevOps-Admins' is assigned the 'Administrator' role on a Datacenter object with the 'Propagate to children' flag enabled. An administrator explicitly assigns the 'Read-Only' role to a specific member of that group, user 'developer1', directly on a production virtual machine located inside that Datacenter. What is the effective permission of 'developer1' when managing that specific virtual machine?
Administrator access, because permissions assigned to groups take precedence over permissions assigned to individual user accounts
Read-Only access, because explicit permissions assigned directly to an inventory object override inherited permissions propagated from parent objects
No Access, because assigning conflicting roles between parent containers and child objects triggers an automated access block
The union of Administrator and Read-Only privileges, granting full operational control across all virtual machine settings
What is the primary architectural function of the Security Token Service (STS) within vCenter Single Sign-On?
It manages physical CPU scheduling quotas and enforces VMkernel core overcommitment ratios across clustered ESXi hosts
It inspects virtual switch port groups and automatically applies distributed firewall filtering rules to virtual machine network interfaces
It authenticates incoming user credentials against configured identity sources and mints cryptographically signed SAML assertion tokens for service access
It generates and signs X.509 machine SSL certificates and distributes them to managed hypervisor nodes during cluster host provisioning
Sections you finish are checked off in the contents.