匯入時的操作說明
- 支援的檔案格式為 YAML 和 JSON。
- 有兩種匯入方法:"新增"和"覆寫"。
- 無法透過匯入進行刪除。未包含在匯入檔案中的資料將不會被更新(資料將保持不變,不會被刪除)。
- Unique Key 為「加密類型名稱」。
␣ 請替換為半形空格 |
|
---|---|
欄位 | 說明 |
version:␣1 | 版本(固定) |
encryption_configs:
|
以下行中指定加密類型 ※在 JSON 中,請使用 "EncryptionConfigs:"。 |
-␣name:␣
|
指定加密類型名稱 |
encryption_type:␣
|
指定密碼形式 ・固定密碼(fixed_password) ・隨機密碼(random_password) |
unique_password_per_recipient:␣true |
為每個接收者生成不同的密碼 |
fixed_password:␣ |
指定固定密碼 詳細資訊請參考 自動加密附加檔案設定 |
exclude_extensions: ␣␣-␣[附檔名(不需要點號.)] |
以下行中指定的副檔名不會被加密 |
filename_encoding:␣ |
指定 ZIP 檔名的編碼方式 |
output_filename:␣ | 指定 ZIP 檔名 ※請確保包含副檔名 |
notify_sender:␣true | 啟用寄件者通知 ※無法在固定密碼中指定 |
notify_recipient_template_id:␣ |
啟用接收者通知並指定通知範本 ID |
範例① 固定密碼 pw_"發送日期",附加檔案名稱為 "report_"發送日期時間"時區".zip
version: 1
encryption_configs:
- name: 固定密碼(pw_yyyymmdd)
encryption_type: fixed_password
fixed_password_format: pw_((%LOCAL-YEAR%))((%LOCAL-MONTH%))((%LOCAL-DAY%))
filename_encoding: cp950
output_filename: report_((%LOCAL-MONTH%))((%LOCAL-DAY%))((%LOCAL-HOUR%))((%LOCAL-MINUTE%))((%TIMEZONE%)).zip
範例②為每個接收者設定不同的隨機密碼,zip 和 tar 不加密。
※ 匯入後,需要在畫面上指定接收者通知範本。
version: 1
encryption_configs:
- name: 範例②
encryption_type: random_password
unique_password_per_recipient: true
filename_encoding: cp950
output_filename: ((%ORIGINAL-NAME%)) .zip
exclude_extensions:
- zip
- tar
notify_sender: true
notify_recipient: true