From ec5e84b34ca0718a6790c83dc5b66d92f78f36f4 Mon Sep 17 00:00:00 2001 From: lthievenaz-keeper Date: Wed, 29 Jul 2026 11:24:22 +0100 Subject: [PATCH 1/3] Correct the help dialog for Record Add --self-destruct Before: `[(m)inutes|(h)ours|(d)ays]` After: `[(mi)nutes|(h)ours|(d)ays|(mo)nths|(y)ears]` --- keepercommander/commands/record_edit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keepercommander/commands/record_edit.py b/keepercommander/commands/record_edit.py index 2f04e7136..c0750fdb1 100644 --- a/keepercommander/commands/record_edit.py +++ b/keepercommander/commands/record_edit.py @@ -50,7 +50,7 @@ record_add_parser.add_argument('--folder', dest='folder', action='store', help='folder name or UID to store record') record_add_parser.add_argument('--self-destruct', dest='self_destruct', action='store', - metavar='[(m)inutes|(h)ours|(d)ays]', + metavar='[(mi)nutes|(h)ours|(d)ays|(mo)nths|(y)ears]', help='Time period record share URL is valid. The record will be deleted in your vault in 5 minutes since open') record_add_parser.add_argument('--pam-config', dest='pam_config', action='store', help='PAM configuration UID or name to sync password to cloud provider (Azure AD, AWS IAM)') From a9ea92fa6bf17d95d5b6166e7c74514710275b85 Mon Sep 17 00:00:00 2001 From: lthievenaz-keeper Date: Wed, 29 Jul 2026 11:27:46 +0100 Subject: [PATCH 2/3] Correct self destruct time definitions Corrected the shorthand for minutes (`mi`, not `m`) Added `mo`nths and `y`ears definitions --- RECORD_ADD_DOCUMENTATION.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/RECORD_ADD_DOCUMENTATION.md b/RECORD_ADD_DOCUMENTATION.md index 99372f7c2..69fd803aa 100644 --- a/RECORD_ADD_DOCUMENTATION.md +++ b/RECORD_ADD_DOCUMENTATION.md @@ -403,13 +403,15 @@ The `--self-destruct` option creates temporary records that automatically delete ### Syntax ```bash ---self-destruct [(m)inutes|(h)ours|(d)ays] +--self-destruct [(mi)nutes|(h)ours|(d)ays|(mo)nths|(y)ears] ``` **Time Units:** -- `m` or `minutes` - Minutes (default if no unit specified) +- `mi` or `minutes` - Minutes (default if no unit specified) - `h` or `hours` - Hours - `d` or `days` - Days +- `mo` or `months` - Months +- `y` or `years` - Years ### Examples @@ -428,7 +430,7 @@ record-add -t "Temporary Server Access" -rt login \ record-add -t "Guest WiFi Access" -rt wifiCredentials \ text.ssid="Company-Guest" \ password=TempPass123 \ - --self-destruct 30m \ + --self-destruct 30mi \ --notes "Visitor access for meeting" ``` @@ -647,4 +649,4 @@ record-add --syntax-help # View record-update syntax help record-update --help -``` \ No newline at end of file +``` From 0d4332445ca57f1e93e680c0168f95934d1e7a06 Mon Sep 17 00:00:00 2001 From: lthievenaz-keeper Date: Wed, 29 Jul 2026 11:32:32 +0100 Subject: [PATCH 3/3] Correct the help dialog for PAM Rotate --self-destruct Before: `[(m)inutes|(h)ours|(d)ays]` After: `[(mi)inutes|(h)ours|(d)ays|(mo)nths|(y)ears]` --- keepercommander/commands/discoveryrotation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keepercommander/commands/discoveryrotation.py b/keepercommander/commands/discoveryrotation.py index fda7bb82f..a5ebde9f1 100644 --- a/keepercommander/commands/discoveryrotation.py +++ b/keepercommander/commands/discoveryrotation.py @@ -3701,7 +3701,7 @@ class PAMGatewayActionRotateCommand(Command): # Email and share link arguments parser.add_argument('--self-destruct', dest='self_destruct', action='store', - metavar='[(m)inutes|(h)ours|(d)ays]', + metavar='[(mi)inutes|(h)ours|(d)ays|(mo)nths|(y)ears]', help='Create one-time share link that expires after duration') parser.add_argument('--email-config', dest='email_config', action='store', help='Email configuration name to use for sending (required with --send-email)')