diff --git a/src/containerapp/HISTORY.rst b/src/containerapp/HISTORY.rst index ab5b286e7db..6464c63bf43 100644 --- a/src/containerapp/HISTORY.rst +++ b/src/containerapp/HISTORY.rst @@ -10,7 +10,7 @@ Release History * BREAKING CHANGE: 'az containerapp revision list' now shows only active revisions by default, added flag --all to show all revisions * Fixed bug with 'az containerapp up' where custom domains would be removed when updating existing containerapp * Fixed bug with 'az containerapp auth update' when using --unauthenticated-client-action -* BREAKING CHANGE: 'az containerapp env certificate upload' now overwrites the existing certificate by default. Added flag --overwrite to show the prompt for confirmation of overwriting the existing certificate. +* BREAKING CHANGE: 'az containerapp env certificate upload' does not prompt by default when re-uploading an existing certificate. Added --show-prompt to show prompts on re-upload. * Fixed bug with 'az containerapp env certificate upload' where it shows a misleading message for invalid certificate name 0.3.5 diff --git a/src/containerapp/azext_containerapp/_params.py b/src/containerapp/azext_containerapp/_params.py index 46fd18ab7fc..127d6fe0f94 100644 --- a/src/containerapp/azext_containerapp/_params.py +++ b/src/containerapp/azext_containerapp/_params.py @@ -155,7 +155,7 @@ def load_arguments(self, _): c.argument('certificate_file', options_list=['--certificate-file', '-f'], help='The filepath of the .pfx or .pem file') c.argument('certificate_name', options_list=['--certificate-name', '-c'], help='Name of the certificate which should be unique within the Container Apps environment.') c.argument('certificate_password', options_list=['--password', '-p'], help='The certificate file password') - c.argument('prompt', options_list=['--overwrite'], help='Boolean indicating whether to show a prompt for confirmation of overwriting the existing certificate.') + c.argument('prompt', options_list=['--show-prompt'], help='Show prompt to upload an existing certificate.') with self.argument_context('containerapp env certificate list') as c: c.argument('name', id_part=None)