OpenClaw人人养虾:SecretRef 凭证表面
SecretRef 凭证表面Credential Surface定义了哪些凭证路径支持通过 SecretRef 进行外部引用解析。它严格限定为用户供应的凭证 — 即 OpenClaw 不会自行铸造mint或轮换rotate的凭证。范围界定在范围内用户手动提供的、静态的 API Key、Token、密码等不在范围内运行时铸造或轮换的凭证、OAuth 刷新材料、会话类 artifact支持的openclaw.json目标路径以下是openclaw.json配置文件中支持 SecretRef 引用的所有凭证路径。模型 Provider路径说明models.providers.*.apiKey模型 Provider 的 API Key技能Skills路径说明skills.entries.*.apiKeySkill 条目的 API KeyAgent 内存搜索路径说明agents.defaults.memorySearch.remote.apiKey默认远程内存搜索 API Keyagents.list[].memorySearch.remote.apiKey特定 Agent 的远程内存搜索 API Key语音Talk路径说明talk.apiKey通用语音 API Keytalk.providers.*.apiKey语音 Provider 的 API KeyTTS文字转语音路径说明messages.tts.elevenlabs.apiKeyElevenLabs TTS API Keymessages.tts.openai.apiKeyOpenAI TTS API Key网页搜索工具路径说明tools.web.search.apiKey通用网页搜索 API Keytools.web.search.gemini.apiKeyGemini 搜索 API Keytools.web.search.grok.apiKeyGrok 搜索 API Keytools.web.search.kimi.apiKeyKimi 搜索 API Keytools.web.search.perplexity.apiKeyPerplexity 搜索 API Key网页搜索密钥激活模式显式 Provider 模式tools.web.search.provider已设置仅选定 Provider 的密钥生效自动模式tools.web.search.provider未设置tools.web.search.apiKey和各 Provider 专用密钥均生效Gateway 认证路径说明gateway.auth.passwordGateway 认证密码gateway.auth.tokenGateway 认证 Tokengateway.remote.tokenGateway 远程连接 Tokengateway.remote.passwordGateway 远程连接密码定时任务路径说明cron.webhookTokenCron Webhook TokenTelegram 渠道路径说明channels.telegram.botTokenTelegram Bot Tokenchannels.telegram.webhookSecretTelegram Webhook Secretchannels.telegram.accounts.*.botToken多账号 Telegram Bot Tokenchannels.telegram.accounts.*.webhookSecret多账号 Telegram Webhook SecretSlack 渠道路径说明channels.slack.botTokenSlack Bot Tokenchannels.slack.appTokenSlack App Tokenchannels.slack.userTokenSlack User Tokenchannels.slack.signingSecretSlack Signing Secretchannels.slack.accounts.*.botToken多账号 Slack Bot Tokenchannels.slack.accounts.*.appToken多账号 Slack App Tokenchannels.slack.accounts.*.userToken多账号 Slack User Tokenchannels.slack.accounts.*.signingSecret多账号 Slack Signing SecretDiscord 渠道路径说明channels.discord.tokenDiscord Tokenchannels.discord.pluralkit.tokenDiscord PluralKit Tokenchannels.discord.voice.tts.elevenlabs.apiKeyDiscord 语音 ElevenLabs API Keychannels.discord.voice.tts.openai.apiKeyDiscord 语音 OpenAI API Keychannels.discord.accounts.*.token多账号 Discord Tokenchannels.discord.accounts.*.pluralkit.token多账号 PluralKit Tokenchannels.discord.accounts.*.voice.tts.elevenlabs.apiKey多账号语音 ElevenLabs API Keychannels.discord.accounts.*.voice.tts.openai.apiKey多账号语音 OpenAI API KeyIRC 渠道路径说明channels.irc.passwordIRC 密码channels.irc.nickserv.passwordIRC NickServ 密码channels.irc.accounts.*.password多账号 IRC 密码channels.irc.accounts.*.nickserv.password多账号 NickServ 密码BlueBubbles 渠道路径说明channels.bluebubbles.passwordBlueBubbles 密码channels.bluebubbles.accounts.*.password多账号 BlueBubbles 密码飞书渠道路径说明channels.feishu.appSecret飞书 App Secretchannels.feishu.verificationToken飞书 Verification Tokenchannels.feishu.accounts.*.appSecret多账号飞书 App Secretchannels.feishu.accounts.*.verificationToken多账号飞书 Verification TokenMicrosoft Teams 渠道路径说明channels.msteams.appPasswordMS Teams App PasswordMattermost 渠道路径说明channels.mattermost.botTokenMattermost Bot Tokenchannels.mattermost.accounts.*.botToken多账号 Mattermost Bot TokenMatrix 渠道路径说明channels.matrix.passwordMatrix 密码channels.matrix.accounts.*.password多账号 Matrix 密码Nextcloud Talk 渠道路径说明channels.nextcloud-talk.botSecretNextcloud Talk Bot Secretchannels.nextcloud-talk.apiPasswordNextcloud Talk API Passwordchannels.nextcloud-talk.accounts.*.botSecret多账号 Nextcloud Bot Secretchannels.nextcloud-talk.accounts.*.apiPassword多账号 Nextcloud API PasswordZalo 渠道路径说明channels.zalo.botTokenZalo Bot Tokenchannels.zalo.webhookSecretZalo Webhook Secretchannels.zalo.accounts.*.botToken多账号 Zalo Bot Tokenchannels.zalo.accounts.*.webhookSecret多账号 Zalo Webhook SecretGoogle Chat 渠道路径说明channels.googlechat.serviceAccount通过serviceAccountRef兼容引用兼容性例外channels.googlechat.accounts.*.serviceAccount多账号 Google Chat Service Account兼容性例外支持的auth-profiles.json目标路径Auth profiles 文件中支持以下 SecretRef 目标路径Auth Profile 类型说明profiles.*.keyReftype: api_keyAPI Key 引用profiles.*.tokenReftype: tokenToken 引用agentId 必填Auth profile 类型的 plan target 必须包含agentId字段。Plan 条目逻辑Plan 条目通过profiles.*.key/profiles.*.token定位目标并写入对应的 sibling refkeyRef/tokenRef。运行时覆盖Auth profile 中的 refkeyRef/tokenRef包含在运行时解析和审计覆盖范围内。不受支持的凭证类型以下凭证类型不支持 SecretRef因为它们属于运行时铸造minted、自动轮换rotated、会话绑定session-bearing或 OAuth 持久类凭证不适合只读的外部 SecretRef 解析路径原因commands.ownerDisplaySecret运行时铸造/轮换channels.matrix.accessToken运行时铸造/轮换channels.matrix.accounts.*.accessToken运行时铸造/轮换hooks.token运行时铸造/轮换hooks.gmail.pushToken运行时铸造/轮换hooks.mappings[].sessionKey会话绑定auth-profiles.oauth.*OAuth 持久类discord.threadBindings.*.webhookToken运行时铸造/轮换whatsapp.creds.json运行时铸造/会话绑定为什么不支持这些凭证由 OpenClaw 在运行时自动铸造、轮换或通过 OAuth 流程获取其生命周期由系统管理不适合外部 SecretRef 这种只读引用机制。《DeepSeek高效数据分析从数据清洗到行业案例》聚焦DeepSeek在数据分析领域的高效应用是系统讲解其从数据处理到可视化全流程的实用指南。作者结合多年职场实战经验不仅深入拆解DeepSeek数据分析的核心功能——涵盖数据采集、清洗、预处理、探索分析、建模回归、聚类、时间序列等及模型评估更通过金融量化数据分析、电商平台数据分析等真实行业案例搭配报告撰写技巧提供独到见解与落地建议。助力职场人在激烈竞争中凭借先进技能突破瓶颈实现职业进阶开启发展新篇。