AET Karaf image reads all files in the /run/secrets/ directory matching KARAF_* pattern export them as environment variable.
See the [Karaf entrypoint][/blob/master/karaf/entrypoint.sh] for details.
E.g.
If the file /run/secrets/KARAF_MY_SECRET is found, its content will be exported to MY_SECRET environment variable.
AET Karaf image reads all files in the
/run/secrets/
directory matchingKARAF_*
pattern export them as environment variable. See the [Karaf entrypoint][/blob/master/karaf/entrypoint.sh] for details.E.g. If the file
/run/secrets/KARAF_MY_SECRET
is found, its content will be exported toMY_SECRET
environment variable.This feature is done to support login modifier reading from env (https://github.com/Cognifide/aet/pull/583).