Create a VMware Cloud Director Infrastructure Provider in the DKP UI
Before you provision VMware Cloud Director (VCD) clusters using the DKP UI, you must:
Fulfill the prerequisites for VMware Cloud Director
Create a VCD infrastructure provider to contain your credentials
Create a VCD Infrastructure Provider
Log in to your DKP Enterprise user interface.
Select Infrastructure Providers from the navigation menu on the left.
Select Add Infrastructure Provider.
Add a Provider Name for referencing this infrastructure provider.
Specify a Refresh Token name that you created in VCD.
You can generate API Tokens to grant programmatic access to VCD for both providers and tenant users. Automation scripts or third-party solutions use the API token to make requests of VCD on the user’s behalf. You must generate, and name, the token within VCD, and also grant tenants the right to use and manage them.Specify a Site URL value, which must begin with
https://
, for example,"https://vcd.example.com"
. Do not use a trailing forward slash character.
VCD API token documentation warns that you need to make a secure note of the Refresh Token, as it displays only one time, and cannot be retrieved afterward.
Editing a VCD infrastructure provider means that you are changing the credentials under which DKP connects to VMware Cloud Director. This can have negative effects on any existing clusters that use that infrastructure provider record.
To prevent errors, DKP first checks to see if there are any existing clusters for the selected infrastructure provider. If a VCD infrastructure provider has existing clusters, DKP displays an error message and prevents you from editing the infrastructure provider.