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]

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.

az batch certificate delete

Delete a certificate from a Batch account.

az batch certificate delete --thumbprint
                            [--abort]
                            [--account-endpoint]
                            [--account-key]
                            [--account-name]
                            [--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.

--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]
                          [--select]

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.

--select

An OData $select clause.

az batch certificate show

Gets information about the specified Certificate.

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

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.

--select

An OData $select clause.