Similar to ccrypt - https://ccrypt.sourceforge.net/ccrypt.html
-E var, --envvar var
Read the keyword from the environment variable var. Note that this might be unsafe on certain systems, namely where users can use the ps command to see the environment of a process owner by another user. On most modern systems, however, such behavior of ps is disabled and the -E option should be safe there. Also, as an added security measure, ccrypt erases the keyword from its environment immediately after reading it.
This is useful when calling kr from another program: the environment variable can be set in the subprocess (and is only visible to the current/subprocesses and to root/admin users with memory access on the machine).