mounted secret file

A secret delivered to a program as a file with tight permissions, instead of as an environment variable.

In more detail

A file is read only when needed and is not inherited by child processes or dumped with the environment, which is why platforms that offer both usually recommend the file. Create it with a restrictive mode from the start rather than fixing permissions afterwards.

Related terms

Taught in

References