Skip to content

Commit 214262c

Browse files
committed
Added help message for overwrite
1 parent 0bd24fe commit 214262c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • src/azure-cli/azure/cli/command_modules/keyvault

src/azure-cli/azure/cli/command_modules/keyvault/_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,8 @@ class CLISecurityDomainOperation(str, Enum):
558558
c.argument('encoding', arg_type=get_enum_type(secret_encoding_values), options_list=['--encoding', '-e'],
559559
help="Encoding of the secret. By default, will look for the 'file-encoding' tag on the secret. "
560560
"Otherwise will assume 'utf-8'.", default=None)
561+
c.argument('overwrite', arg_type=get_three_state_flag(), options_list=['--overwrite'], help="Overwrite the file if it exists.",
562+
default=False)
561563

562564
for scope in ['download', 'backup', 'restore']:
563565
with self.argument_context('keyvault secret {}'.format(scope)) as c:

0 commit comments

Comments
 (0)