VCF Single Sign-On
In a previous post we went through the steps on how to configure an LDAP directory to be used as a Identity Source in VCF 9.0.
Today we’re going to be going through the steps of configuring SSO, using the previous configuration as identity source.
When you configure VCF Single Sign-On you can either implement it in embedded mode within the management domain vCenter or deploy it in appliance mode.
Use the embedded deployment mode if you want to use VCF Identity Broker that is embedded in the management domain vCenter and do not want to deploy a VCF Identity Broker appliance for VCF Single Sign-On configuration. You use the embedded deployment mode typically within a single VCF Instance. In the embedded deployment mode, the VCF Identity Broker is configured in the management domain vCenter of the VCF Instance. Embedded Deployment Mode The following diagram shows the embedded deployment mode where the VCF Identity Broker is configured in the management domain vCenter.
Further informations on which Identity Broker to configure are available on the official Broadcom website at this link.
Let's see how to set up the Identity Broker (embedded), below...
First, log into VCF Operations and browse to Fleet Management (1) > Identity & Access (2)... ...so if it's your first time, scroll down and accept all the Prerequisites checks (3) and CONTINUE(4) Select a VCF instance, in my case "instance-a" (6) We begin with step 1 by choosing the deployment mode by pressing START (7). Check Identity broker (embedded) (8) and then NEXT (9)... ... EDIT (10) ... ... in my case as directory-base identity provider we choose Open LDAP (11) and hit NEXT (12). In step 2, we CONFIGURE (13) now the identity provider. At this stage, we need to configure Identity Broker to integrate with the identity provider selected for user authentication. As our identity provider, in our case, we'll use the one configured in the previous post.
We fill it in as follows (14):
Directory name: vcf-lab
Primary domain controller: ldap://192.168.1.246       389
Directory search attribute: Custom Attribute
Custom directory search attribute for Users: cn
Custom directory search attribute for Groups: cn
Base DN: dc=vcf,dc=lab
Bind user name: cn=admin,dc=vcf,dc=lab
Bind user password: VMware123!VMware123!
NEXT (15) Leave LDAP Configuration (16) as default (shown in the picture) and press NEXT (17)... ... review and FINISH (18). Step 3, to CONFIGURE (19) user and group provisioning Review Directory Information, hit NEXT (20). Leave the "Attribute Mappings" as default (shown in the picture) and press NEXT (21). We should now search for group names and select the LDAP Directory group Distinguished Names (DNs) that we want to sync.
Specify the base group DN: ou=Groups,dc=vcf,dc=lab (22)
We click on "SELECT BASE GROUP DN" (23) button and we select the groups we would like so sync (in our case "Administrators" "Users" (24)) then NEXT (25). Based on how our LDAP directory, we need to search the users we want to use...
We fill in the "Specify the base user DN" field with the following values: ou=Users,de=vcf,dc=lab (26) and we hit "SELECT BASE USER DN" (27) button.
We search for the user name we want to sync (28) (for instance "lorenzo", "admin.vcf" ecc. ) and then we select it (29).
When we are satisfied with the selected users we proceed by pressing NEXT (or SAVE) (30). We review the identity provider configuration and, if it is correct, we confirm by pressing FINISH (31)... ... DONE (32) ... ... we finalize by pressing FINISH SETUP (33)... ... and confirming the end of the configuration with CONTINUE (34). If the Identity Source has been configured correctly, you should see what's shown in the image below... and in the Component Configuration section... Everything seems to be properly configured, let's do a double check by connecting directly to vCenter.
We log in as administrator@vsphere.local and we click on the hamburger menu > Administration > Single Sign On> Configuration. We should see (as shown in the picture below) that VCF SSO is configured through the VCF Identity Broker.....
Under Administration > Single Sign On > Users and Groups ... we should see in Domain list the new Identity Source "vcf.lab". For testing, we add the following users of the new "vcf.lab" domain with their respective roles:
User/Group: admin.vcf           Role: Administrator
User/Group: lorenzo               Role: Read-only Let's test vCenter access using VCF SSO (38) login method; LOG IN (39). we type the username "admin.vcf@vcf.lab" the password (in our case "VMware123!VMware123!") and hit LOG IN (41) button. Bhoomm!! It works!!
That's it.


























































































