שתף באמצעות


az sf application certificate

Manage the certificate of an application.

Commands

Name Description Type Status
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.

Core GA

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]
                                  [--vault-name]
                                  [--vault-rg]

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.

--vault-name

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

--vault-rg

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.