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

# Encryption

> What Habitus encrypts, and the credentials it never stores.

## What it is

This page lists the encryption controls confirmed in Habitus today. Items still being confirmed are marked for review and are not yet described as controls.

## Who it's for

Security reviewers completing a vendor assessment.

## How to use it

Encryption needs no configuration. The related controls you can turn on are covered in [Two-factor authentication](https://docs.tryhabitus.com/administration/two-factor.md) and [Single sign-on](https://docs.tryhabitus.com/administration/single-sign-on.md).

## Key concepts

### Confirmed controls

* **Connected-account credentials are encrypted at rest.** Access and refresh tokens for connected cloud storage are encrypted with AES-256-GCM authenticated encryption before they are stored, and decrypted only when Habitus syncs your selected folders. Removing a connected account deletes its stored credentials.
* **Two-factor secrets are stored encrypted.** The secret behind your authenticator app and your recovery codes are stored encrypted, not in plain text.
* **Sign-in codes are stored hashed.** The one-time codes Habitus emails for sign-in are stored only as hashes, never in plain text, and expire after 5 minutes.
* **No passwords.** Habitus is passwordless — you sign in with a one-time email code, optionally plus an authenticator code or your identity provider — so there are no passwords to store or leak.
* **Short-lived download links.** Documents are downloaded through signed links that expire after a few minutes and are issued only after an access check.

### In transit and at rest

Our [Privacy Policy](https://www.tryhabitus.com/privacy) (section 12) commits to encryption in transit (TLS) and at rest. Details for each data store and for key management are available from your Habitus representative.&#x20;

## Limits and permissions

* Habitus does not claim any security certification.
* Encryption of files inside your connected cloud storage is governed by that provider.

## Related pages

> [card] [Security overview](https://docs.tryhabitus.com/security/overview.md)
>
> All security controls at a glance.

> [card] [Data handling](https://docs.tryhabitus.com/security/data-handling.md)
>
> How documents are stored, accessed and deleted.


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