az spring certificate
Note
This reference is part of the spring extension for the Azure CLI (version 2.56.0 or higher). The extension will automatically install the first time you run an az spring certificate command. Learn more about extensions.
Commands to manage certificates.
Commands
Name | Description | Type | Status |
---|---|---|---|
az spring certificate add |
Add a certificate in Azure Spring Apps. |
Extension | GA |
az spring certificate list |
List all certificates in Azure Spring Apps. |
Extension | GA |
az spring certificate list-reference-app |
List all the apps reference an existing certificate in the Azure Spring Apps. |
Extension | GA |
az spring certificate remove |
Remove a certificate in Azure Spring Apps. |
Extension | GA |
az spring certificate show |
Show a certificate in Azure Spring Apps. |
Extension | GA |
az spring certificate update |
Update a certificate in Azure Spring Apps. |
Extension | GA |
az spring certificate add
Add a certificate in Azure Spring Apps.
az spring certificate add --name
--resource-group
--service
[--enable-auto-sync {false, true}]
[--only-public-cert {false, true}]
[--public-certificate-file]
[--vault-certificate-name]
[--vault-uri]
Examples
Import certificate from key vault.
az spring certificate add --name MyCertName --vault-uri MyKeyVaultUri --vault-certificate-name MyKeyVaultCertName --service MyCluster --resource-group MyResourceGroup
Required Parameters
Name of certificate.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Optional Parameters
Whether to automatically synchronize certificate from key vault.
If true, only import public certificate part from key vault.
A file path for the public certificate to be uploaded.
The certificate name in key vault.
The key vault uri where store the certificate.
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 spring certificate list
List all certificates in Azure Spring Apps.
az spring certificate list --resource-group
--service
[--certificate-type {ContentCertificate, KeyVaultCertificate}]
Examples
List all certificates in Spring service.
az spring certificate list --service MyCluster --resource-group MyResourceGroup -o table
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Optional Parameters
Type of uploaded certificate.
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 spring certificate list-reference-app
List all the apps reference an existing certificate in the Azure Spring Apps.
az spring certificate list-reference-app --name
--resource-group
--service
Examples
List all the apps reference an existing certificate in Spring service.
az spring certificate list-reference-app --service MyCluster --resource-group MyResourceGroup --name MyCertName
Required Parameters
Name of certificate.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
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 spring certificate remove
Remove a certificate in Azure Spring Apps.
az spring certificate remove --name
--resource-group
--service
Required Parameters
Name of certificate.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
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 spring certificate show
Show a certificate in Azure Spring Apps.
az spring certificate show --name
--resource-group
--service
Required Parameters
Name of certificate.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
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 spring certificate update
Update a certificate in Azure Spring Apps.
az spring certificate update --name
--resource-group
--service
[--enable-auto-sync {false, true}]
Examples
Enable auto sync feature of a key vault certificate in Azure Spring Apps.
az spring certificate update --name MyCertName --service MyCluster --resource-group MyResourceGroup --enable-auto-sync true
Disable auto sync feature of a key vault certificate in Azure Spring Apps.
az spring certificate update --name MyCertName --service MyCluster --resource-group MyResourceGroup --enable-auto-sync false
Required Parameters
Name of certificate.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=.
Optional Parameters
Whether to automatically synchronize certificate from key vault.
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.