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

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
