feat: add API Keys management and IP allowlist for App Passwords

This commit is contained in:
Linus Rath
2026-04-21 18:59:47 +02:00
parent 6b7c849332
commit e566cfe687
17 changed files with 556 additions and 124 deletions
+15
View File
@@ -1100,6 +1100,9 @@
"name_label": "App Name",
"name_placeholder": "e.g. Thunderbird, iPhone Mail",
"expires_label": "Expires (optional)",
"allowed_ips_label": "Allowed IPs (optional)",
"allowed_ips_placeholder": "10.0.0.5, 192.168.1.0/24",
"allowed_ips_hint": "Comma- or space-separated. Leave empty to allow any IP.",
"password_label": "Password (leave empty to auto-generate)",
"password_placeholder": "Auto-generated if empty",
"copy_now_warning": "Copy this password now - it will not be shown again.",
@@ -1109,6 +1112,18 @@
"remove_error": "Failed to remove app password",
"none": "No app passwords configured"
},
"api_keys": {
"title": "API Keys",
"description": "Create API keys for scripts and integrations that talk to the server directly",
"name_label": "Key Name",
"name_placeholder": "e.g. Backup script, CI runner",
"copy_now_warning": "Copy this API key now - it will not be shown again.",
"added": "API key created",
"removed": "API key removed",
"add_error": "Failed to create API key",
"remove_error": "Failed to remove API key",
"none": "No API keys configured"
},
"encryption": {
"section_title": "Encryption at Rest",
"label": "Email Encryption",