az sf application certificate

Manage the certificate of an application.

Commands

az sf application certificate add

Add a new certificate to the Virtual Machine Scale Sets that make up the cluster to be used by hosted applications.

az sf application certificate add

Add a new certificate to the Virtual Machine Scale Sets that make up the cluster to be used by hosted applications.

az sf application certificate add --cluster-name
                                  --resource-group
                                  [--cert-out-folder]
                                  [--cert-subject-name]
                                  [--certificate-file]
                                  [--certificate-password]
                                  [--secret-identifier]
                                  [--subscription]
                                  [--vault-name]
                                  [--vault-resource-group]

Examples

Add an application certificate.

az sf application certificate add -g group-name -c cluster1  --secret-identifier 'https://{KeyVault}.vault.azure.net/secrets/{Secret}'

Required Parameters

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--resource-group -g

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

Optional Parameters

--cert-out-folder --certificate-output-folder

The folder of the new certificate file to be created.

--cert-subject-name --certificate-subject-name

The subject name of the certificate to be created.

--certificate-file

The existing certificate file path for the primary cluster certificate.

--certificate-password

The password of the certificate file.

--secret-identifier

The existing Azure key vault secret URL.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--vault-name

Azure key vault name, it not given it will be the cluster resource group name.

--vault-resource-group

Key vault resource group name, if not given it will be cluster resource group name.