Wire table gains the search, private-message, webhook and SSO rows; the library surface shows Search/SendMessage calls and a server-side helper section (WebhookHandler, SSOLogin, secret loaders); the CLI reference lists the four new commands including their secret env vars. env.example documents the DISCOURSE_KEY alias and the two commented-out secrets. Part of Redmine 507 (Discourse Go client).
24 lines
1003 B
Plaintext
24 lines
1003 B
Plaintext
# mopac-discourse-go credentials (copy to a 0600 file, e.g.
|
|
# ~/.config/discourse-go/env, source it, and fill in). Values are NEVER
|
|
# passed as flags or arguments. Any *.env file in this repo is gitignored.
|
|
#
|
|
# Instance root, no trailing slash.
|
|
DISCOURSE_URL=https://community.turnsys.com
|
|
|
|
# Discourse API key (Admin API > Keys, or a user API key). Creating
|
|
# categories requires an admin-scoped key; a standard key 403s there.
|
|
# DISCOURSE_KEY is accepted as an alias when DISCOURSE_API_KEY is unset.
|
|
DISCOURSE_API_KEY=replace-me
|
|
|
|
# The user the key acts as (must match the key's allowed username, or be
|
|
# "system" for global keys).
|
|
DISCOURSE_API_USERNAME=reachableceo
|
|
|
|
# Webhook payload secret (Admin > Settings > API > web hook). Only the
|
|
# `webhook verify` command and the server-side helpers need it.
|
|
#DISCOURSE_WEBHOOK_SECRET=replace-me
|
|
|
|
# Discourse Connect (SSO) shared secret (Admin > Settings > Login >
|
|
# discourse connect secret). Only the SSO helpers need it.
|
|
#DISCOURSE_SSO_SECRET=replace-me
|