Skip to content

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 root access.
  • 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

  1. Log in to VCF Operations as an administrator and go to Fleet Management > Identity & Access > VCF Other Components.
  2. 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.
Figure 1.17. Creating an OIDC client for Orchestrator in VCF Operations.
  1. SSH in as vmware-system-user and switch to root with sudo 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:
root@vco01
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
  1. Check the values with vracli vro authentication, then run /opt/scripts/deploy.sh.
  2. 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.
Needs a lab check. Confirm the identity broker hostname format and the tenant segment in the URL against the 9.1 lab.

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.

See also