keyring


Using Keyring is an alternative way to secrets.yaml. The secrets can be managed from the command line via the keyring script.

$ opp --script keyring --help

To store a password in keyring, replace your password or API key with !secret and an identifier in configuration.yaml file.

integration1:
  api_key: !secret integration1_key

Create an entry in your keyring.

$ opp --script keyring set integration1_key

If you launch Open Peer Power now, you will be prompted for the keyring password to unlock your keyring.

$ opp
Config directory: /home/openpeerpower/.openpeerpower
Please enter password for encrypted keyring:
If you are using the Python Keyring, [autostarting](/getting-started/autostart/) of Open Peer Power will no longer work.