> ## Documentation Index
> Fetch the complete documentation index at: https://firebolt-aggregate-helm-docs-pr-4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Learn about how to enable and disable multi-factor authentication in Firebolt.

# Multi-factor authentication

Enable multi-factor authentication (MFA) as an additional layer of security to protect data that is accessible through Firebolt. With MFA enabled, users must authenticate with a one-time code generated by their mobile device upon login. MFA can be enabled per login.

<Note>
  Enabling MFA for a login requires the org\_admin role.
</Note>

## Enable MFA for a login

### SQL

To enable MFA for a login using SQL, use the [ALTER LOGIN](/reference-sql/commands/access-control/alter-login) statement. For example:

```sql theme={null}
ALTER LOGIN "alex@acme.com" SET IS_MFA_ENABLED = TRUE;
```

Multi-factor authentication can also be set for new logins, with the [CREATE LOGIN](/reference-sql/commands/access-control/create-login) command. For example:

```sql theme={null}
CREATE LOGIN "betsy@acme.com" SET IS_MFA_ENABLED = TRUE;
```

### UI

To enable MFA for a login in the UI:

<img src="https://mintcdn.com/firebolt-aggregate-helm-docs-pr-4/28klgY4r_rwrJXOA/assets/images/mfamanagement.png?fit=max&auto=format&n=28klgY4r_rwrJXOA&q=85&s=0d3bff800f50d363d8056f8be31cfde8" alt="Configure > MFA" data-og-width="3024" width="3024" data-og-height="622" height="622" data-path="assets/images/mfamanagement.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/firebolt-aggregate-helm-docs-pr-4/28klgY4r_rwrJXOA/assets/images/mfamanagement.png?w=280&fit=max&auto=format&n=28klgY4r_rwrJXOA&q=85&s=aec0db41abae580f0a34a31a58ea8bbc 280w, https://mintcdn.com/firebolt-aggregate-helm-docs-pr-4/28klgY4r_rwrJXOA/assets/images/mfamanagement.png?w=560&fit=max&auto=format&n=28klgY4r_rwrJXOA&q=85&s=fa058601a355a4d121fc97574b0dd988 560w, https://mintcdn.com/firebolt-aggregate-helm-docs-pr-4/28klgY4r_rwrJXOA/assets/images/mfamanagement.png?w=840&fit=max&auto=format&n=28klgY4r_rwrJXOA&q=85&s=4d5ddfb207c2bd3c5f559aefda66ccc4 840w, https://mintcdn.com/firebolt-aggregate-helm-docs-pr-4/28klgY4r_rwrJXOA/assets/images/mfamanagement.png?w=1100&fit=max&auto=format&n=28klgY4r_rwrJXOA&q=85&s=a21e7dcefac0fbb36a2522870842d2c0 1100w, https://mintcdn.com/firebolt-aggregate-helm-docs-pr-4/28klgY4r_rwrJXOA/assets/images/mfamanagement.png?w=1650&fit=max&auto=format&n=28klgY4r_rwrJXOA&q=85&s=9be2f93e435ac8e11fecd01f6675f615 1650w, https://mintcdn.com/firebolt-aggregate-helm-docs-pr-4/28klgY4r_rwrJXOA/assets/images/mfamanagement.png?w=2500&fit=max&auto=format&n=28klgY4r_rwrJXOA&q=85&s=6c32aa6b8de78b0a05c80bc7fc441b35 2500w" />

1. Click **Configure** to open the configure space, then choose **Logins** from the menu.

2. Search for the relevant login using the top search filters or by scrolling through the logins list. Toggle on **Is MFA enabled**.

<img src="https://mintcdn.com/firebolt-aggregate-helm-docs-pr-4/28klgY4r_rwrJXOA/assets/images/mfaenabled.png?fit=max&auto=format&n=28klgY4r_rwrJXOA&q=85&s=5d48175d887d823c44c7d5e673b54d98" alt="Is MFA enabled" width="3018" height="614" data-path="assets/images/mfaenabled.png" />

MFA can also be enabled when creating a login, by toggling **Is MFA enabled** in the **Create login** window:

<img src="https://mintcdn.com/firebolt-aggregate-helm-docs-pr-4/28klgY4r_rwrJXOA/assets/images/mfaloginenabled.png?fit=max&auto=format&n=28klgY4r_rwrJXOA&q=85&s=8353822b70e2599027f84d763e4dd2b4" alt="Enable MFA" style={{"width": "500px"}} width="1398" height="758" data-path="assets/images/mfaloginenabled.png" />
