Authenticating with VCF SSO
VCF 9 introduced VCF SSO: one identity broker in front of vCenter, NSX, VCF Operations, and the other components, usually federated with your corporate identity provider. If your vCenters already log in through it, point Orchestrator at it too, so administrators sign in once.
Getting ready
- A deployed appliance (recipe 1.2) with
rootaccess. - VCF SSO configured in your fleet, and administrator access to VCF Operations.
- A group in your identity source whose members should administer Orchestrator.
How to do it
- Log in to VCF Operations as an administrator and go to Fleet Management > Identity & Access > VCF Other Components.
- Create an OIDC client for Orchestrator: give it a name, choose the identity broker and VCF instance, leave both redirect URLs empty, generate the client, and click Save. Copy the client ID and client secret.
VCF Operations 9.1, Fleet Management > Identity & Access > VCF Other Components, new OIDC client form. Mask the secret.
- SSH in as
vmware-system-userand switch torootwithsudo su -(recipe 2.1), and set VCF SSO as the provider. The hostname is the identity broker’s URL, including the/acs/t/<tenant>path:
vracli vro authentication set -p vidb \ --hostname https://idb.vmw.lab/acs/t/CUSTOMER \ --client-id 'CLIENT_ID' \ --client-secret 'CLIENT_SECRET' \ --admin-group OrchestratorAdmins@vmw.lab- Check the values with
vracli vro authentication, then run/opt/scripts/deploy.sh. - Browse to
https://vco01.vmw.lab. You’re redirected to the VCF SSO sign-in page. Sign in as a member of the admin group.
How it works
With VCF SSO, Orchestrator becomes an OAuth client of the identity broker, the same way vCenter is. The client ID and secret let Orchestrator request and renew tokens. Your identity, and group membership for the admin group, come from whichever directory VCF SSO is federated with, such as Active Directory, Okta, or Entra ID.
Because Orchestrator and vCenter now trust the same broker, a workflow can call vCenter as the user who started it, rather than through one shared service account. Recipe 1.9 shows the option that turns this on.
