52 lines
1.6 KiB
YAML
52 lines
1.6 KiB
YAML
## oama version 0.16
|
|
|
|
## This is a YAML configuration file, indentation matters.
|
|
## Double ## indicates comments while single # default values.
|
|
## Not all defaults are shown, for full list run `oama printenv`
|
|
## and look at the `services:` section.
|
|
|
|
## Possible options for keeping refresh and access tokens:
|
|
## GPG - in a gpg encrypted file $XDG_STATE_HOME/oama/<email-address>.oauth
|
|
## (XDG_STATE_HOME defaults to ~/.local/state)
|
|
## GPG - in a gpg encrypted file ~/.local/state/oama/<email-address>.oauth
|
|
## KEYRING - in the keyring of a password manager with Secret Service API
|
|
##
|
|
## Choose exactly one.
|
|
|
|
encryption:
|
|
tag: KEYRING
|
|
|
|
# encryption:
|
|
# tag: GPG
|
|
# contents: your-KEY-ID
|
|
|
|
## Builtin service providers
|
|
## - google
|
|
## - microsoft
|
|
## Required fields: client_id, client_secret
|
|
##
|
|
services:
|
|
google:
|
|
client_id: 721790901363-ergskvjp6qcufl8hd1tujas6krj6ch64.apps.googleusercontent.com
|
|
client_secret: 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
|
|
# auth_scope: https://mail.google.com/
|
|
|
|
# microsoft:
|
|
# client_id: application-CLIENT-ID
|
|
# client_secret: application-CLIENT_SECRET
|
|
# auth_scope: https://outlook.office.com/IMAP.AccessAsUser.All
|
|
# https://outlook.office.com/SMTP.Send
|
|
# offline_access
|
|
# tenant: common
|
|
|
|
## User configured providers
|
|
## Required fields: client_id, client_secret, auth_endpoint, auth_scope, token_endpoint
|
|
##
|
|
## For example:
|
|
# yahoo:
|
|
# client_id: application-CLIENT-ID
|
|
# client_secret: application-CLIENT_SECRET
|
|
# auth_endpoint: EDIT-ME!
|
|
# auth_scope: EDIT-ME!
|
|
# token_endpoint: EDIT-ME!
|