Skip to main content
Version: 1.24.0 (latest)

dlt._workspace.mcp.tools.secrets_tools

secrets_list

@with_mcp_tool_telemetry()
def secrets_list() -> List[Dict[str, Any]]

View source on GitHub

List secret file paths, profiles, and whether each file exists.

secrets_view_redacted

@with_mcp_tool_telemetry()
def secrets_view_redacted(
path: Annotated[
Optional[str],
Field(description=(
"Absolute path to a specific secrets file (from secrets_list)."
" Omit to get the unified merged view of all secret files.")),
] = None
) -> str

View source on GitHub

Show secrets TOML with every value replaced by '***'.

Without path: returns the unified merged view across all project secret files (read-only, shows effective configuration). With path: returns that single file redacted. Use secrets_list to discover file paths.

secrets_update_fragment

@with_mcp_tool_telemetry()
def secrets_update_fragment(fragment: Annotated[
str,
Field(description="TOML fragment to deep-merge into the secrets file"),
], path: Annotated[
str,
Field(description=
"Absolute path to the secrets file to update (from secrets_list)."),
]) -> str

View source on GitHub

Deep-merge a TOML fragment into a secrets file; returns the redacted result. The file is created if it does not exist.

This demo works on codespaces. Codespaces is a development environment available for free to anyone with a Github account. You'll be asked to fork the demo repository and from there the README guides you with further steps.
The demo uses the Continue VSCode extension.

Off to codespaces!

DHelp

Ask a question

Welcome to "Codex Central", your next-gen help center, driven by OpenAI's GPT-4 model. It's more than just a forum or a FAQ hub – it's a dynamic knowledge base where coders can find AI-assisted solutions to their pressing problems. With GPT-4's powerful comprehension and predictive abilities, Codex Central provides instantaneous issue resolution, insightful debugging, and personalized guidance. Get your code running smoothly with the unparalleled support at Codex Central - coding help reimagined with AI prowess.