3 This plugin starts automatically [`keychain`](https://www.funtoo.org/Keychain)
4 to set up and load whichever credentials you want for both gpg and ssh
7 To enable it, add `keychain` to your plugins:
10 plugins=(... keychain)
13 **NOTE**: It is HIGHLY recommended to also enable the `gpg-agent` plugin.
17 **IMPORTANT: put these settings _before_ the line that sources oh-my-zsh**
19 **To adjust the agents** that keychain manages, use the `agents` style as
20 shown below. By default, only the `gpg` agent is managed.
23 zstyle :omz:plugins:keychain agents gpg,ssh
26 To **load multiple identities** use the `identities` style, For example:
29 zstyle :omz:plugins:keychain identities id_ed25519 id_github 2C5879C2
32 **To pass additional options** to the `keychain` program, use the
33 `options` style; for example:
36 zstyle :omz:plugins:keychain options --quiet
41 Based on code from the `ssh-agent` plugin.
45 - [Keychain](https://www.funtoo.org/Keychain)