neosay/example.json
Moritz Poldrack 07469b4aa7 add option to get access token from command
To allow adding neosays configuration to a dotfiles repo, it's
beneficial to allow providing a command to retrieve the access token
via a command (for example from a password manager).

If an access token is set while a command is set as well, the token is
overwritten in favour of the securely retrieved one.

Fixes: https://github.com/donuts-are-good/neosay/issues/1
Signed-off-by: Moritz Poldrack <git@moritz.sh>
2023-04-18 21:54:18 -05:00

8 lines
238 B
JSON

{
"homeserverURL": "https://matrix.org",
"userID": "@example:matrix.org",
"accessToken": "my_access_token",
"accessTokenCmd": "secret-tool lookup Title 'Neosay Matrix Access Token'",
"roomID": "!oJJwhvLOYfduLjDTjA:matrix.org"
}