-
Notifications
You must be signed in to change notification settings - Fork 11
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
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 }}'