az arcappliance update-infracredentials
Note
This reference is part of the arcappliance extension for the Azure CLI (version 2.51.0 or higher). The extension will automatically install the first time you run an az arcappliance update-infracredentials command. Learn more about extensions.
Command group for updating the on-premises infrastructure credentials used by Arc resource bridge to manage on-premises resources.
Commands
Name | Description | Type | Status |
---|---|---|---|
az arcappliance update-infracredentials hci |
Command to update the on-premises infrastructure credentials for Azure Stack HCI used by Arc resource bridge. |
Extension | GA |
az arcappliance update-infracredentials scvmm |
Command to update the SCVMM credentials used by Arc resource bridge. |
Extension | GA |
az arcappliance update-infracredentials vmware |
Command to update the VMware credentials used by Arc resource bridge. |
Extension | GA |
az arcappliance update-infracredentials hci
Command to update the on-premises infrastructure credentials for Azure Stack HCI used by Arc resource bridge.
az arcappliance update-infracredentials hci --kubeconfig
[--cloudagent]
[--loginconfigfile]
Examples
Update Azure Stack HCI credentials used by Arc resource bridge
az arcappliance update-infracredentials hci --kubeconfig [REQUIRED]
Update Azure Stack HCI credentials used by Arc resource bridge with non-interactive mode using HCI credentials as parameters
az arcappliance update-infracredentials hci --kubeconfig [REQUIRED] --cloudagent [REQUIRED] --loginconfigfile [REQUIRED]
Required Parameters
Path to kubeconfig output from deploy command.
Optional Parameters
FQDN or IP address of the Azure Stack HCI MOC cloud agent service used by Arc resource bridge. This can be found in the -infra.yaml configuration file stored locally on the HCI cluster.
File path for the Azure Stack HCI login configuration file, kvatoken.tok. By default, it is stored locally on the HCI cluster.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az arcappliance update-infracredentials scvmm
Command to update the SCVMM credentials used by Arc resource bridge.
az arcappliance update-infracredentials scvmm --kubeconfig
[--address]
[--password]
[--port]
[--username]
Examples
Update SCVMM credentials used by Arc resource bridge
az arcappliance update-infracredentials scvmm --kubeconfig [REQUIRED]
Update SCVMM credentials used by Arc resource bridge with non-interactive mode using SCVMM credentials as parameters
az arcappliance update-infracredentials scvmm --kubeconfig [REQUIRED] --address [REQUIRED] --port [REQUIRED] --username [REQUIRED] --password [REQUIRED]
Required Parameters
Path to kubeconfig output from deploy command.
Optional Parameters
SCVMM Server FQDN (e.g. vmmuser001.contoso.lab) or IPv4 address. If you have a Highly Available VMM setup, enter the role name.
SCVMM Administrator Password.
SCVMM server port number (Default: 8100).
SCVMM Administrator Username in the format domain\username where 'domain' should be the NetBIOS name of the domain (e.g. contoso\administrator).
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az arcappliance update-infracredentials vmware
Command to update the VMware credentials used by Arc resource bridge.
az arcappliance update-infracredentials vmware --kubeconfig
[--address]
[--password]
[--skipWait]
[--username]
Examples
Update VMware credentials used by Arc resource bridge
az arcappliance update-infracredentials vmware --kubeconfig [REQUIRED] --skipWait
Update VMware credentials used by Arc resource bridge with non-interactive mode using VMware credentials as parameters
az arcappliance update-infracredentials vmware --kubeconfig [REQUIRED] --address [REQUIRED] --username [REQUIRED] --password [REQUIRED] --skipWait
Required Parameters
Path to kubeconfig output from deploy command.
Optional Parameters
FQDN or IP address for vCenter Server instance. Ex: 10.160.0.1.
Password for vSphere account that Arc resource bridge uses for on-premises infrastructure guest management.
Use this flag to update the vCenter credentials without verification. This is only recommended if you are locked out of vSphere and validation is not possible until lockout period expires.
Username for vSphere account that Arc resource bridge uses for on-premises infrastructure guest management.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.