> For the complete documentation index, see [llms.txt](https://leather.gitbook.io/guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://leather.gitbook.io/guides/securing-the-wallet.md).

# Securing the wallet

- [Secret Key and password](https://leather.gitbook.io/guides/securing-the-wallet/secret-key-and-password.md): What is the difference between a Secret Key and a Password in Leather?
- [Secret Key basics](https://leather.gitbook.io/guides/securing-the-wallet/secret-key-basics.md): What are Secret Keys and how do they work?
- [View Secret Key in wallet](https://leather.gitbook.io/guides/securing-the-wallet/view-secret-key-in-wallet.md): How can I get the private key from the Hiro Wallet?
- [Securing your Secret Key](https://leather.gitbook.io/guides/securing-the-wallet/securing-your-secret-key.md): How should I secure my Secret Key for Leather?
- [Lost Secret Key, then what?](https://leather.gitbook.io/guides/securing-the-wallet/lost-secret-key-then-what.md): I think I lost my Secret Key to the Hiro Wallet. What should I do?
- [Secret Key refused by wallet](https://leather.gitbook.io/guides/securing-the-wallet/secret-key-refused-by-wallet.md): Why is my saved secret key not accepted by the wallet?
- [Using Your Ledger Device for Bitcoin and Stacks Transactions](https://leather.gitbook.io/guides/securing-the-wallet/using-your-ledger-device-for-bitcoin-and-stacks-transactions.md): How can I use my Ledger device with Leather?
- [Using Trezor with Leather](https://leather.gitbook.io/guides/securing-the-wallet/using-trezor-with-leather.md): How can I use my Trezor device with Leather?
- [Migration of wallets](https://leather.gitbook.io/guides/securing-the-wallet/migration-of-wallets.md): How do I change the Secret Key of my wallet?
- [Past audits, vulnerabilities and solutions](https://leather.gitbook.io/guides/securing-the-wallet/past-audits-vulnerabilities-and-solutions.md): Has Leather been audited? Have there been any vulnerabilities with Leather, and what solutions have been built to handle those vulnerabilities?


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://leather.gitbook.io/guides/securing-the-wallet.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
