az iot ops asset endpoint certificate
Note
This reference is part of the azure-iot-ops extension for the Azure CLI (version 2.53.0 or higher). The extension will automatically install the first time you run an az iot ops asset endpoint certificate command. Learn more about extensions.
Command group 'iot ops' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage owned certificates in an asset endpoint.
Commands
Name | Description | Type | Status |
---|---|---|---|
az iot ops asset endpoint certificate add |
Add an owned certificate to an asset endpoint. |
Extension | Preview |
az iot ops asset endpoint certificate list |
List owned certificates in an asset endpoint. |
Extension | Preview |
az iot ops asset endpoint certificate remove |
Remove an owned certificate in an asset endpoint. |
Extension | Preview |
az iot ops asset endpoint certificate add
Command group 'iot ops' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Add an owned certificate to an asset endpoint.
az iot ops asset endpoint certificate add --endpoint
--resource-group
--secret-ref
--thumbprint
[--password-ref]
Examples
Add a certificate to an asset endpoint.
az iot ops asset endpoint certificate add --endpoint {asset_endpoint} -g {resource_group} --secret-ref {secret_reference} --thumbprint {thumbprint} --password-ref {password_reference}
Add a certificate to an asset endpoint that uses a password with prefilled values.
az iot ops asset endpoint certificate add --endpoint myAssetEndpoint -g myRG --secret-ref "aio-opc-ua-broker-client/certificate" --thumbprint 000000000000000000 --password-ref "aio-opc-ua-broker-client/certificate-password"
Required Parameters
Asset Endpoint name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Reference for the der file that contains the certificate. The referenced file should contain the certificate and the key.
Certificate thumbprint.
Optional Parameters
Reference for pem file that contains the certificate password.
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 iot ops asset endpoint certificate list
Command group 'iot ops' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List owned certificates in an asset endpoint.
az iot ops asset endpoint certificate list --endpoint
--resource-group
Examples
List all owned certificates in an asset endpoint.
az iot ops asset endpoint certificate list --endpoint {asset_endpoint} -g {resource_group}
Required Parameters
Asset Endpoint name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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 iot ops asset endpoint certificate remove
Command group 'iot ops' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Remove an owned certificate in an asset endpoint.
az iot ops asset endpoint certificate remove --endpoint
--resource-group
--thumbprint
Examples
Remove a certificate from an asset endpoint.
az iot ops asset endpoint certificate remove --endpoint {asset_endpoint} -g {resource_group} --thumbprint {thumbprint}
Required Parameters
Asset Endpoint name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Certificate thumbprint.
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.