Share via


az batch certificate

This command has been deprecated and will be removed in a future release.

Manage Batch certificates.

Commands

Name Description Type Status
az batch certificate create

Add a certificate to a Batch account.

Core Deprecated
az batch certificate delete

Delete a certificate from a Batch account.

Core Deprecated
az batch certificate list

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

Core Deprecated
az batch certificate show

Gets information about the specified Certificate.

Core Deprecated

az batch certificate create

Deprecated

This command is implicitly deprecated because command group 'batch certificate' is deprecated and will be removed in a future release.

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.

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.

az batch certificate delete

Deprecated

This command is implicitly deprecated because command group 'batch certificate' is deprecated and will be removed in a future release.

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.

Default value: False
--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.

Default value: False
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.

az batch certificate list

Deprecated

This command is implicitly deprecated because command group 'batch certificate' is deprecated and will be removed in a future release.

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

Warning: This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

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.

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.

az batch certificate show

Deprecated

This command is implicitly deprecated because command group 'batch certificate' is deprecated and will be removed in a future release.

Gets information about the specified Certificate.

Warning: This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

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.

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.