diff options
| author | tv <tv@krebsco.de> | 2026-11-29 00:50:42 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-29 01:00:16 +0000 |
| commit | 7a8e8ecd650ddb253c08445f6f60686e1c8b8bf5 (patch) | |
| tree | 4309216f7e96201c3ed71fc49aa594ba8ae62452 /CHANGELOG.md | |
| parent | d56436c3e5ee7b5659e1c2171c5c7af2d3c4eccb (diff) | |
config: +raw imports the bytes as they are
file+raw:, cmd+raw: and env+raw:, and format = "raw" in a table, give
what is there byte for byte (Imported::Raw): no line break removed at
its end, and what is no text taken, as a key or a certificate needs.
Text and JSON still must be UTF-8, and say +raw where they aren't.
A placeholder gives text; in a +raw importer one may be +raw too, and
its bytes go in as they are, into a name, a path, an argument or a
shell's positional parameter. Into text none does: not into a text or
JSON importer, nor into text with placeholders.
continuum takes a +raw value as one text, read as nothing else; one
that is no UTF-8 it refuses, an option being text.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 730151f..8955431 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ it from the release before ([`docs/operations.md`](docs/operations.md), ## Unreleased +* `+raw` (`file+raw:PATH`, `cmd+raw:COMMAND`, `env+raw:NAME`; `format = "raw"` in a file) + imports a value as it is, the line breaks at its end kept + ([`docs/configuration.md`](docs/configuration.md), + [Importing values](docs/configuration.md#importing-values)). + * Placeholders nest: `${cmd:secrets ${env:HOSTNAME} show x}`, and in a name, a path, a command and each argument of an importer. What a placeholder gives is never run: an argument stays one argument, and a shell command gets it as a positional parameter. |
