# [security]

<!-- Generated by web/apps/docs/scripts/gen-reference.ts from the Atuin source. Do not edit. -->

Credentials of your own for Atuin to redact.

## `security.redact_patterns`

Regular expressions for credentials of your own, redacted wherever Atuin redacts: in
captured command output and in AI sessions. A pattern's `secret` group is what goes, where
it names one (`api-key: (?<secret>\w+)`), else all it matches.

- **Type:** list of string

## `security.sensitive_files`

Files of your own whose contents are credentials, on top of the built-in ones (`.env`,
`~/.ssh/id_*`, `~/.aws/credentials`, ...): what an AI agent reads out of them or writes to
them is not captured, nor the output of a command naming one. A glob without a `/` is
matched against a file's name (`*.secret`); one with a `/` against its path
(`~/work/creds/**`).

- **Type:** list of string
- **Default:** `[]`