> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fiet.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Credentials

> Credentials never reach a model.

Credentials never reach a model. That is a design rule, and it applies to wallet keys, exchange keys and bank credentials alike.

## Wallet keys

Your agent proposes. It is never given a key, so it cannot move your funds. Signing happens in your own wallet.

## Service credentials

Some moves touch a venue or service, such as placing an order at an exchange. The credential for that service lives with an executor, never in a proposal, a prompt, a record or a log.

| Part | Holds |
| - | - |
| Proposal | The service, the operation and the exact arguments |
| Executor or broker | The credential and the connection |
| Agent | Neither |

A proposal cannot choose an endpoint or a credential. See [Service calls](https://docs.fiet.finance/features/service-calls.md).

## Confidential execution

Some work needs a service to act without a person at the keyboard. Confidential execution keeps credentials inside trusted execution environments, so you know your bank account or exchange credentials are not being leaked to a model or read by an operator.

* A service shows evidence of the code it runs before it receives a secret.
* Operators and agents cannot read the protected credential as plain text.
* Transaction and venue services accept only bounded requests.
* Your policy limits what any caller can obtain.

```mermaid theme={null}
flowchart LR
  P[Your policy] --> T[Attested service]
  R[Bounded request] --> T
  K[Protected credential] --> T
  T -->|Within limits| E[Permitted effect]
  T -->|Outside limits| X[Refused]
```

## Your Fiet sign-in and API keys

Your agent connects to Fiet through a browser sign-in, so it holds no key. See [Connect MCP](https://docs.fiet.finance/connect-mcp.md).

If your own code uses an API key, keep it in your environment or your client's secret store. Never paste it into a prompt, a proposal or a file you commit. Request only the scopes you need. See [Hosted API](https://docs.fiet.finance/data/hosted-api.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.