Pass password through config or environment secret
Author: belibugCreated Jul 16, 2021Updated Oct 23, 2025
Labelsenhancement:pushpin:
Support Request
Environment
- Jrnl
--diagnosticoutput:
jrnl: v2.8.1 Python: 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0] OS: Linux 5.4.0-77-generic
- Install method:
Pipx
What are you trying to do?
I have jrnl file that is encrypted that i want to access programmatically. How do i pass password as argument or secret in environment variable or some other method without interactively typing the password.
What have you tried?
I have checked the documentation and googled for solution and found none.
Other Information
I know we can use keychain to save the creds, but in my case I am automating something that needs encrypted journal that can accept password in script.
Source: jrnl-org/jrnl