Skip to content

Commit

Permalink
settings, global: Replace FILE setting type syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Oct 9, 2024
1 parent bd74a8c commit 3d78c07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/core/plugins/mail_crypt.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ passdb static {
password = pass
fields {
crypt_global_public_key_file = ecpubkey.pem
crypt_global_private_key/main/private_key = <content of ecprivkey.pem>
crypt_global_private_key/main/private_key_file = inline:<content of ecprivkey.pem>
}
}
```
Expand Down
8 changes: 4 additions & 4 deletions docs/core/settings/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ the process has dropped root privileges.

The file paths do not support [[link,settings_variables,%variables]].

All the `file` type settings end with a `_file` suffix. It's possible to give
inline values (instead of a path to a file) for the setting by removing the
`_file` suffix. For example userdb could be returning
`crypt_global_public_key=<public key content>` without having to use files.
It's possible to give inline values (instead of a path to a file) for the
setting by using `inline:` prefix in the value. For example userdb could be
returning `crypt_global_public_key_file=inline:<public key content>` without
having to use files.

## Named Filter

Expand Down

0 comments on commit 3d78c07

Please sign in to comment.