浏览代码

Update documentation with environment variable escaping (#546).

Dan Helfman 3 年之前
父节点
当前提交
8336165f23
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      docs/how-to/provide-your-passwords.md

+ 8 - 0
docs/how-to/provide-your-passwords.md

@@ -67,6 +67,14 @@ variable doesn't exist, borgmatic will error.
 To disable this environment variable interpolation feature entirely, you can
 pass the `--no-environment-interpolation` flag on the command-line.
 
+Or if you'd like to disable interpolation within a single option value, you
+can escape it with a backslash. For instance, if your password is literally
+`${A}@!`:
+
+```yaml
+storage:
+    encryption_passphrase: \${A}@!
+```
 
 ### Related features