mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:30:44 +00:00
feat(qqbot): resolve clientSecret SecretRefs and add secret contract
This commit is contained in:
committed by
Peter Steinberger
parent
153e4c59cf
commit
40f970a13d
@@ -82,6 +82,20 @@ File-backed AppSecret:
|
||||
}
|
||||
```
|
||||
|
||||
Env SecretRef AppSecret:
|
||||
|
||||
```json5
|
||||
{
|
||||
channels: {
|
||||
qqbot: {
|
||||
enabled: true,
|
||||
appId: "YOUR_APP_ID",
|
||||
clientSecret: { source: "env", provider: "default", id: "QQBOT_CLIENT_SECRET" },
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
Notes:
|
||||
|
||||
- Env fallback applies to the default QQ Bot account only.
|
||||
|
||||
@@ -90,6 +90,8 @@ Scope intent:
|
||||
- `channels.feishu.accounts.*.appSecret`
|
||||
- `channels.feishu.accounts.*.encryptKey`
|
||||
- `channels.feishu.accounts.*.verificationToken`
|
||||
- `channels.qqbot.clientSecret`
|
||||
- `channels.qqbot.accounts.*.clientSecret`
|
||||
- `channels.msteams.appPassword`
|
||||
- `channels.mattermost.botToken`
|
||||
- `channels.mattermost.accounts.*.botToken`
|
||||
|
||||
@@ -281,6 +281,20 @@
|
||||
"secretShape": "secret_input",
|
||||
"optIn": true
|
||||
},
|
||||
{
|
||||
"id": "channels.qqbot.accounts.*.clientSecret",
|
||||
"configFile": "openclaw.json",
|
||||
"path": "channels.qqbot.accounts.*.clientSecret",
|
||||
"secretShape": "secret_input",
|
||||
"optIn": true
|
||||
},
|
||||
{
|
||||
"id": "channels.qqbot.clientSecret",
|
||||
"configFile": "openclaw.json",
|
||||
"path": "channels.qqbot.clientSecret",
|
||||
"secretShape": "secret_input",
|
||||
"optIn": true
|
||||
},
|
||||
{
|
||||
"id": "channels.slack.accounts.*.appToken",
|
||||
"configFile": "openclaw.json",
|
||||
|
||||
Reference in New Issue
Block a user