# Security, permissions and health (/docs/integrations/security-permissions-and-health)

> Who can manage integrations, how secrets are handled, how to read connection health, re-authorise and rotate credentials.

Type: concept | Status: ga | Last reviewed: 2026-11-09 | Minimum role: builder

## Who can do what [#who-can-do-what]

| Role | Manage integrations |
|---|---|
| Owner, Admin, Builder | Yes |
| Support, Viewer | No |

See the [permissions matrix](/docs/reference/permissions-matrix).

## How secrets are handled [#how-secrets-are-handled]

- Tokens, keys and passwords are **encrypted at rest** and never shown again after you save. "Loopwix never shows stored values in plain text."
- To change one, enter a new value. Leave the field blank to keep the current secret.
- Secrets are never sent to the AI model, and neither are REST response fields you set to **Hide**.
- Do not put secrets in query parameters or sample headers. Use the auth fields.

## Layers of protection [#layers-of-protection]

| Layer | What it does |
|---|---|
| Approved, enabled, attached | The agent only sees capabilities you chose |
| Minimum trust | Customers must reach the level you set |
| Own-data binding | Customer-private results are limited to the verified customer |
| Row and field limits | Reads return at most 20 rows by default; sensitive fields are masked below Verified |
| Confirmation | Actions ask first; a confirmation is single-use, tied to the exact details and expires after 5 minutes |
| Kill switches | A [runtime control](/docs/security/runtime-controls) can stop everything instantly |
| Audit | Calls are recorded; see [Audit log](/docs/security) |
| Data egress | Personal data read in a turn is never sent to a generic REST endpoint |

## Health [#health]

- **Test connection** shows **Connection established** or **Connection failed**.
- A working, approved connection shows **Ready for workflows**; otherwise the badge reads "Not ready for workflows" with the reason.
- REST sources show **Health** and their number of **Endpoints** in the **Custom APIs** table.
- If a credential expires or is revoked, an alert tells you to reconnect. Sign in again or paste a new token, then **Test connection**.
- Calls that keep failing are paused automatically for a short time, then retried. See [How integrations work](/docs/integrations/how-integrations-work).

## Good practice [#good-practice]

- Use a dedicated, least-privilege account or key per integration, for example a restricted Stripe key.
- Use test accounts while building.
- Review which actions are enabled from time to time.
- Pair actions that touch money or customer data with [escalation](/docs/agents/escalation-settings) and [verification](/docs/security).
- Remove integrations you no longer use.

---

Used for: [Security at Loopwix](https://loopwix.com/security)
