Skip to content
szorfein edited this page Dec 9, 2022 · 4 revisions

So you need to create a [GPG key](other link) and initialize pass

pass init gpg-id

Personal Account

Create a pass entry.

pass generate mail/personal 90
...longpassword...

Next, edit the file.

pass edit mail/personal

We need 3 fields pass, user and imaps

pass: ...longpassword...
user: personal
imaps: imaps.ggg.com

You can add any other field if you need like answer_the_question or url.

chezmoi get the entry with passFields:

chezmoi execute-template '{{ (passFields "mail/personal").pass | trim }}'
Clone this wiki locally