Manage the passwords of the components in your VMware Cloud Foundation instance according to the design objectives and design guidance of Identity and Access Management for VMware Cloud Foundation validated solution.

Password management activities include the configuration of password policies, such as password expiration, complexity or account lockout, and password rotation and remediation.

If you want to use the infrastructure-as-code method for configuring password policies in the Identity and Access Management for VMware Cloud Foundation validated solution, verify that your system fulfills the following prerequisites.

Table 1. Prerequisites for CLI Configuration of Password Policies in Identity and Access Management for VMware Cloud Foundation

CLI Method

Prerequisite

PowerShell

  • Verify that your system has PowerShell Core 7.2 or later installed. See Microsoft PowerShell.
  • Install the supporting PowerShell modules from the PowerShell Gallery by running the following commands.
    Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
    Install-Module -Name VMware.PowerCLI -MinimumVersion 13.2.1
    Install-Module -Name VMware.vSphere.SsoAdmin -MinimumVersion 1.3.9
    Install-Module -Name PowerVCF -MinimumVersion 2.4.0
    Install-Module -Name PowerValidatedSolutions -MinimumVersion 2.10.0
    Install-Module -Name VMware.CloudFoundation.PasswordManagement -MinimumVersion 1.7.1
  • Import the modules before proceeding by running the following commands.
    Import-Module -Name VMware.PowerCLI
    Import-Module -Name VMware.vSphere.SsoAdmin
    Import-Module -Name PowerVCF
    Import-Module -Name PowerValidatedSolutions
    Import-Module -Name VMware.CloudFoundation.PasswordManagement
  • Verify that the necessary modules are installed by running the following command in the PowerShell console.
    Test-VcfPasswordManagementPrereq