---
name: "mongoc_auto_encryption_opts_set_bypass_auto_encryption"
section: "3"
platform: "linux"
package: "libmongoc-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mongoc_auto_encryption_opts_set_bypass_auto_encryption"
---

# mongoc\_auto\_encryption\_opts\_set\_bypass\_auto\_encryption(3)

## SYNOPSIS

```
void
mongoc_auto_encryption_opts_set_bypass_auto_encryption (
   mongoc_auto_encryption_opts_t *opts, bool bypass_auto_encryption);
```

## PARAMETERS

- •

  **opts**: The *mongoc\_auto\_encryption\_opts\_t*

- •

  **bypass\_auto\_encryption**: A boolean. If true, a *mongoc\_client\_t* configured with *mongoc\_client\_enable\_auto\_encryption()* will only perform automatic decryption (not encryption).

**SEE ALSO:**

```
mongoc_client_enable_auto_encryption()
```

```
In-Use Encryption
```

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
