对于 AI 代理:可在 https://www.mongodb.com/zh-cn/docs/llms.txt 获取文档索引—通过在任何 URL 路径后添加 .md 可获取所有页面的 Markdown 版本。

agentengine 密钥删除

删除密钥。

删除密钥。

名称必须匹配 ^[A-Z][A-Z0-9_]{0,127}$。即使名称已成为保留平台名称,仍可以删除,因此,可以移除过期秘密。

删除操作是永久性的。该命令会打印出解析后的目标,然后请求确认。如果没有 --yes,非交互式运行会拒绝执行,而不是进行删除。

默认情况下,这会删除项目范围的密钥(在项目中的所有工作区之间共享)。要改为删除工作区范围的密钥,请传递 --workspace-scope 或提供 --workspace-id。--context 仅命名组织和项目,因此请将其与 --project-scope 结合使用。

agentengine secret delete NAME [flags]
--base-url string Platform base URL --context string Named context to target (see 'agentengine context list')-h, --help help for delete --org-id string Organization ID --project-id string Project ID --project-scope Target project-scoped secrets (the default; explicit alternative to --workspace-scope) --workspace string Monorepo: target a specific workspace by name (from root agent.yaml) --workspace-id string Workspace ID --workspace-scope Target workspace-scoped secrets instead of project-scoped secrets (the default)-y, --yes Skip the interactive confirmation prompt
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)
给本页内容打分