[4/5] docs: add note regarding secrets in DISTRO_APT_PREMIRRORS

Message ID 20261203153249.1727469-5-felix.moessbauer@siemens.com
State New
Headers show
Series Do not leak DISTRO_APT_PREMIRRORS into the image | expand

Commit Message

Felix Moessbauer Dec. 3, 2026, 3:32 p.m. UTC
This variable is not intended to be used with secret data. As this
happened in the past, we stress that it must not contain secrets.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 doc/user_manual.md | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/doc/user_manual.md b/doc/user_manual.md
index 09ac080b..dbca947f 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -477,6 +477,7 @@  Some other variables include:
  - `HOST_DISTRO_APT_PREFERENCES` - List of apt preference files for SDK root filesystem. This variable is optional.
  - `HOST_DISTRO_BOOTSTRAP_KEYS` - Analogously to DISTRO_BOOTSTRAP_KEYS: List of gpg key URIs used to verify apt bootstrap repo for the host.
  - `DISTRO_APT_PREMIRRORS` - The preferred mirror (append it to the default URI in the format `ftp.debian.org my.preferred.mirror`. This variable is optional. PREMIRRORS will be used only for the build. The final images will have the sources list as mentioned in DISTRO_APT_SOURCES.
+ It **must not** contain secrets as these can leak into the logs.
  - `ISAR_USE_APT_SNAPSHOT` - Use a frozen apt snapshot instead of the live mirror. Optional.
  - `ISAR_APT_DL_LIMIT` - Rate limit the apt fetching to n kB / s. Optional.
  - `ISAR_APT_RETRIES` - Number of apt fetching retries before giving up. Optional