az sphere device certificate
หมายเหตุ
This reference is part of the azure-sphere extension for the Azure CLI (version 2.45.0 or higher). The extension will automatically install the first time you run an az sphere device certificate command. Learn more about extensions.
Manage certificates on the attached device.
Name | Description | Type | Status |
---|---|---|---|
az sphere device certificate add |
Add a certificate in the attached device's certificate store. |
Extension | GA |
az sphere device certificate delete |
Delete a certificate in the attached device's certificate store. |
Extension | GA |
az sphere device certificate list |
List certificates in the attached device's certificate store. |
Extension | GA |
az sphere device certificate show |
Show details of a certificate in the attached device's certificate store. |
Extension | GA |
az sphere device certificate show-quota |
Show the available free space in the attached device's certificate store. |
Extension | GA |
Add a certificate in the attached device's certificate store.
az sphere device certificate add --cert-type {client, rootca}
--certificate
--public-key-file
[--device]
[--private-key-file]
[--private-key-password]
Add a rootca certificate on the attached device.
az sphere device certificate add --certificate certSample --cert-type rootca --public-key-file pubcert.pem
Add a client certificate on the attached device.
az sphere device certificate add --certificate certSample --cert-type client --public-key-file pubcert.pem --private-key-file privkeycert.pem --private-key-password 1234
The type of certificate to add. "rootca" - a root CA certificate for use with EAP-TLS networks where the device authenticates the server. "client" - a client certificate, containing both the public and private key, for use with EAP-TLS networks. Please see: https://aka.ms/AzureSphereCertificateStore for more details.
The name of the certificate to add.
The path to a public key certificate .pem file. You can provide a relative or absolute path.
The device to run the command on when multiple devices are attached. Specify the ID, IP address, or Local Connection ID of an attached device.
The path to a client private key .pem file. Required when adding a certificate of type "client". You can provide a relative or absolute path.
Password for the client private key. Required when adding a client private key that is encrypted.
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.
Delete a certificate in the attached device's certificate store.
az sphere device certificate delete --certificate
[--device]
Delete a certificate on the attached device.
az sphere device certificate delete --certificate certSample
The name of the certificate to delete.
The device to run the command on when multiple devices are attached. Specify the ID, IP address, or Local Connection ID of an attached device.
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.
List certificates in the attached device's certificate store.
az sphere device certificate list [--device]
List certificates on the attached device.
az sphere device certificate list
The device to run the command on when multiple devices are attached. Specify the ID, IP address, or Local Connection ID of an attached device.
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.
Show details of a certificate in the attached device's certificate store.
az sphere device certificate show --certificate
[--device]
Show details of a certificate on the attached device.
az sphere device certificate show --certificate certSample
The certificate name of the certificate for which to show the details.
The device to run the command on when multiple devices are attached. Specify the ID, IP address, or Local Connection ID of an attached device.
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.
Show the available free space in the attached device's certificate store.
az sphere device certificate show-quota [--device]
Show the available free space in the attached device's certificate store.
az sphere device certificate show-quota
The device to run the command on when multiple devices are attached. Specify the ID, IP address, or Local Connection ID of an attached device.
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.
คำติชม Azure CLI
Azure CLI เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม: