Name | Type | Description | Required? | Pipeline Input | Default Value |
---|
Name | String | Specifies the name of the Key Management Interoperability Protocol server you want to add. | true | False |
KmsCluster | String | Specifies the key management server cluster to which you want to add the key management server. This parameter also accepts objects of type KmsCluster through an ArgumentTransformationAttribute object. | true | False |
Address | String | Specifies the address of the Key Management Interoperability Protocol server. | true | False |
Confirm | SwitchParameter | If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation. | false | False |
Credential | PSCredential | Specifies a PSCredential object that contains credentials for authenticating with the key management server. | false | False |
Password | SecureString | Specifies the password you want to use for authenticating with the Key Management Interoperability Protocol server. | false | False |
Port | Int32 | Specifies the port number of the Key Management Interoperability Protocol server. | true | False |
ProxyAddress | String | Specifies the address of the proxy server. | false | False |
ProxyPort | Int32 | Specifies the port number of the proxy server. | false | False |
Server | VIServer[] | Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | false | False |
TrustKeyManagementServer | Boolean | Indicates whether the vCenter Server system can trust the key management server certificate. | true | False |
Username | String | Specifies the user name you want to use for authenticating with the Key Management Interoperability Protocol server. | false | False |
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | False |
-------------------------- Example 1 --------------------------
Add-KeyManagementServer -Name 'KMS' -KmsCluster 'KmsCluster' -Address $kmsAddress -Port $kmsPort -ProxyAddress $proxyAddress -ProxyPort $proxyPort -TrustKeyManagementServer $true
Adds the key management server named 'KMS' to the 'KmsCuster' cluster that runs at the $kmsAddress address, $kmsPort port, and trusts the key management server certificate.