az batch certificate

Manage Batch certificates.

Commands

az batch certificate create

Add a certificate to a Batch account.

az batch certificate delete

Delete a certificate from a Batch account.

az batch certificate list

Lists all of the Certificates that have been added to the specified Account.

az batch certificate show

Gets information about the specified Certificate.

az batch certificate create

Add a certificate to a Batch account.

az batch certificate create --certificate-file
                            --thumbprint
                            [--account-endpoint]
                            [--account-key]
                            [--account-name]
                            [--password]
                            [--subscription]

Required Parameters

--certificate-file

The certificate file: cer file or pfx file.

--thumbprint

The certificate thumbprint.

Optional Parameters

--account-endpoint

Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT.

--account-key

The Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY.

--account-name

The Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT.

--password

The password to access the certificate's private key.

--subscription

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

az batch certificate delete

Delete a certificate from a Batch account.

az batch certificate delete --thumbprint
                            [--abort]
                            [--account-endpoint]
                            [--account-key]
                            [--account-name]
                            [--subscription]
                            [--yes]

Required Parameters

--thumbprint

The certificate thumbprint.

Optional Parameters

--abort

Cancel the failed certificate deletion operation.

--account-endpoint

Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT.

--account-key

The Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY.

--account-name

The Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT.

--subscription

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

--yes -y

Do not prompt for confirmation.

az batch certificate list

Lists all of the Certificates that have been added to the specified Account.

az batch certificate list [--account-endpoint]
                          [--account-key]
                          [--account-name]
                          [--filter]
                          [--query-examples]
                          [--select]
                          [--subscription]

Optional Parameters

--account-endpoint

Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT.

--account-key

Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY.

--account-name

Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT.

--filter

An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--select

An OData $select clause.

--subscription

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

az batch certificate show

Gets information about the specified Certificate.

az batch certificate show --thumbprint
                          [--account-endpoint]
                          [--account-key]
                          [--account-name]
                          [--query-examples]
                          [--select]
                          [--subscription]

Required Parameters

--thumbprint

The certificate thumbprint.

Optional Parameters

--account-endpoint

Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT.

--account-key

Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY.

--account-name

Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--select

An OData $select clause.

--subscription

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