az spring-cloud certificate

Commands to manage certificates.

Commands

az spring-cloud certificate add

Add a certificate in Azure Spring Cloud.

az spring-cloud certificate list

List all certificates in Azure Spring Cloud.

az spring-cloud certificate remove

Remove a certificate in Azure Spring Cloud.

az spring-cloud certificate show

Show a certificate in Azure Spring Cloud.

az spring-cloud certificate add

Add a certificate in Azure Spring Cloud.

az spring-cloud certificate add --name
                                --resource-group
                                --service
                                --vault-certificate-name
                                --vault-uri

Examples

Import certificate from key vault.

az spring-cloud certificate add --name MyCertName --vault-uri MyKeyVaultUri --vault-certificate-name MyKeyVaultCertName --service MyCluster --resource-group MyResourceGroup

Required Parameters

--name -n

Name of certificate.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

--vault-certificate-name

The certificate name in key vault.

--vault-uri

The key vault uri where store the certificate.

az spring-cloud certificate list

List all certificates in Azure Spring Cloud.

az spring-cloud certificate list --resource-group
                                 --service

Examples

List all certificates in spring cloud service.

az spring-cloud certificate list --service MyCluster --resource-group MyResourceGroup -o table

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

az spring-cloud certificate remove

Remove a certificate in Azure Spring Cloud.

az spring-cloud certificate remove --name
                                   --resource-group
                                   --service

Required Parameters

--name -n

Name of certificate.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

az spring-cloud certificate show

Show a certificate in Azure Spring Cloud.

az spring-cloud certificate show --name
                                 --resource-group
                                 --service

Required Parameters

--name -n

Name of certificate.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.