diff options
| author | Lin Yinfeng <lin.yinfeng@outlook.com> | 2024-07-07 14:24:03 +0800 |
|---|---|---|
| committer | Lin Yinfeng <lin.yinfeng@outlook.com> | 2024-07-07 19:22:10 +0800 |
| commit | 01543e789c3a8d4f81f8c464d4cf23fa5c781987 (patch) | |
| tree | c17639f8680a7d5bed2b0bc7e740905eef144ec8 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 3cb3b8cbb90f79aa4d82a4680a0036a1fdc482da (diff) | |
nixos/utils: support JSON secret files in genJqSecretsReplacementSnippet
genJqReplacementSnippet quotes the content of the secret file in the
output json file, which prevents structured secret, such as a list or
an object, from being used.
This commit adds a `quote = true|false` option to the `{ _secret =
"/path/to/secret"; }` attribute set. `quote = true` treats the
content of /path/to/secret as string, while `quote = false` treats
the content of /path/to/secret as a JSON document.
`quote = true` is the default, maintaining backward compatibility.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
