> ## Documentation Index
> Fetch the complete documentation index at: https://firebolt-aggregate-helm-docs-pr-57.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](/managed-service/organization/commands/alter-login) statement. For example:

```sql theme={"theme":{"light":"css-variables","dark":"css-variables"}}
ALTER LOGIN "alex@acme.com" SET IS_MFA_ENABLED = TRUE;
```

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

```sql theme={"theme":{"light":"css-variables","dark":"css-variables"}}
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-57/Imv98m9UF7XmsMVQ/assets/images/mfamanagement.png?fit=max&auto=format&n=Imv98m9UF7XmsMVQ&q=85&s=b0af8115d9d9c72afc974df0a333cacc" 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-57/Imv98m9UF7XmsMVQ/assets/images/mfamanagement.png?w=280&fit=max&auto=format&n=Imv98m9UF7XmsMVQ&q=85&s=3f4284d525a3c4e53c8cfb3a2d5dcca1 280w, https://mintcdn.com/firebolt-aggregate-helm-docs-pr-57/Imv98m9UF7XmsMVQ/assets/images/mfamanagement.png?w=560&fit=max&auto=format&n=Imv98m9UF7XmsMVQ&q=85&s=499ef2c827a2fb6a8498f6022d24dfe9 560w, https://mintcdn.com/firebolt-aggregate-helm-docs-pr-57/Imv98m9UF7XmsMVQ/assets/images/mfamanagement.png?w=840&fit=max&auto=format&n=Imv98m9UF7XmsMVQ&q=85&s=63e6c0b2dd4673f169a80024560169b9 840w, https://mintcdn.com/firebolt-aggregate-helm-docs-pr-57/Imv98m9UF7XmsMVQ/assets/images/mfamanagement.png?w=1100&fit=max&auto=format&n=Imv98m9UF7XmsMVQ&q=85&s=c29c753dce15fe9b39f11d42bc002084 1100w, https://mintcdn.com/firebolt-aggregate-helm-docs-pr-57/Imv98m9UF7XmsMVQ/assets/images/mfamanagement.png?w=1650&fit=max&auto=format&n=Imv98m9UF7XmsMVQ&q=85&s=64b81237a3e095c26b36448033db7b50 1650w, https://mintcdn.com/firebolt-aggregate-helm-docs-pr-57/Imv98m9UF7XmsMVQ/assets/images/mfamanagement.png?w=2500&fit=max&auto=format&n=Imv98m9UF7XmsMVQ&q=85&s=a7d37052804f8b4738c758ad20863733 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-57/Imv98m9UF7XmsMVQ/assets/images/mfaenabled.png?fit=max&auto=format&n=Imv98m9UF7XmsMVQ&q=85&s=f12c7b90c4a37583d74ae2c92f81b555" 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-57/Imv98m9UF7XmsMVQ/assets/images/mfaloginenabled.png?fit=max&auto=format&n=Imv98m9UF7XmsMVQ&q=85&s=46f65851df88bcf15465700c76f4b4d2" alt="Enable MFA" style={{"width": "500px"}} width="1398" height="758" data-path="assets/images/mfaloginenabled.png" />
