az containerapp connected-env certificate

Note

This reference is part of the containerapp extension for the Azure CLI (version 2.62.0 or higher). The extension will automatically install the first time you run an az containerapp connected-env certificate command. Learn more about extensions.

Command group 'containerapp connected-env' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Commands to manage certificates for the Container Apps connected environment.

Commands

Name Description Type Status
az containerapp connected-env certificate delete

Delete a certificate from the Container Apps connected environment.

Extension Preview
az containerapp connected-env certificate list

List certificates for a connected environment.

Extension Preview
az containerapp connected-env certificate upload

Add or update a certificate.

Extension Preview

az containerapp connected-env certificate delete

Preview

Command group 'containerapp connected-env certificate' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Delete a certificate from the Container Apps connected environment.

az containerapp connected-env certificate delete [--certificate]
                                                 [--ids]
                                                 [--name]
                                                 [--resource-group]
                                                 [--subscription]
                                                 [--thumbprint]
                                                 [--yes]

Examples

Delete a certificate from the Container Apps connected environment by certificate name

az containerapp connected-env certificate delete -g MyResourceGroup --name MyConnectedEnv --certificate MyCertificateName

Delete a certificate from the Container Apps connected environment by certificate id

az containerapp connected-env certificate delete -g MyResourceGroup --name MyConnectedEnv --certificate MyCertificateId

Delete a certificate from the Container Apps connected environment by certificate thumbprint

az containerapp connected-env certificate delete -g MyResourceGroup --name MyConnectedEnv --thumbprint MyCertificateThumbprint

Optional Parameters

--certificate -c

Name or resource id of the certificate.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Name of the Container Apps connected environment.

--resource-group -g

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

--subscription

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

--thumbprint -t

Thumbprint of the certificate.

--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 containerapp connected-env certificate list

Preview

Command group 'containerapp connected-env certificate' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List certificates for a connected environment.

az containerapp connected-env certificate list --name
                                               --resource-group
                                               [--certificate]
                                               [--location]
                                               [--thumbprint]

Examples

List certificates for a connected environment.

az containerapp connected-env certificate list -g MyResourceGroup --name MyConnectedEnv

List certificates by certificate id.

az containerapp connected-env certificate list -g MyResourceGroup --name MyConnectedEnv --certificate MyCertificateId

List certificates by certificate name.

az containerapp connected-env certificate list -g MyResourceGroup --name MyConnectedEnv --certificate MyCertificateName

List certificates by certificate thumbprint.

az containerapp connected-env certificate list -g MyResourceGroup --name MyConnectedEnv --thumbprint MyCertificateThumbprint

Required Parameters

--name -n

Name of the Container Apps connected environment.

--resource-group -g

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

Optional Parameters

--certificate -c

Name or resource id of the certificate.

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--thumbprint -t

Thumbprint of the certificate.

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 containerapp connected-env certificate upload

Preview

Command group 'containerapp connected-env certificate' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Add or update a certificate.

az containerapp connected-env certificate upload --certificate-file
                                                 [--certificate-name]
                                                 [--ids]
                                                 [--location]
                                                 [--name]
                                                 [--password]
                                                 [--resource-group]
                                                 [--show-prompt]
                                                 [--subscription]

Examples

Add or update a certificate.

az containerapp connected-env certificate upload -g MyResourceGroup --name MyConnectedEnv --certificate-file MyFilepath

Add or update a certificate with a user-provided certificate name.

az containerapp connected-env certificate upload -g MyResourceGroup --name MyConnectedEnv --certificate-file MyFilepath --certificate-name MyCertificateName

Required Parameters

--certificate-file -f

The filepath of the .pfx or .pem file.

Optional Parameters

--certificate-name -c

Name of the certificate which should be unique within the Container Apps connected environment.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--name -n

Name of the Container Apps connected environment.

--password -p

The certificate file password.

--resource-group -g

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

--show-prompt

Show prompt to upload an existing certificate.

Default value: False
--subscription

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

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.