> For the complete documentation index, see [llms.txt](https://docs.duplicati.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.duplicati.com/duplicati-programs/command-line-interface-cli-1/secrettool.md).

# SecretTool

The SecretTool is a small utility tool that can be used to test the [secret provider](/security-and-secrets/using-the-secret-provider.md) configuration.

The SecretTool is called `Duplicati.CommandLine.SecretTool.exe` on Windows and `duplicati-secret-tool` on Linux and MacOS.

To use the tool, invoke it with a configuration and some secrets to locate:

```
duplicati-secret-tool test <provider url> <secret>
```

Multiple secrets can be provided and the tool will attempt to resolve each of them. See the [secret provider section](/security-and-secrets/using-the-secret-provider.md) for details on how to use and configure the secret providers. Commandline help is also available with:

```
duplicati-secret-tool info <provider url>
```

Note that to protect the secrets, the tool will not report the actual values, but just report if it was able to obtain a value from the secret provider.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.duplicati.com/duplicati-programs/command-line-interface-cli-1/secrettool.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
