SHOW MFA METHODS
statementdeferredAccounts, users, sessions, warehousesLists the second factors of authentication that a user enrolled in multi-factor authentication uses to sign in to Snowflake.
Syntax
SHOW MFA METHODS [ FOR USER <user> ]
Parameters
| Name | Required | Description |
|---|---|---|
[ FOR USER user ] | Specifies the user for whom you want to list second factors of authentication. Omitting this clause returns the authentication methods of the current user. Only users with the ACCOUNTADMIN role can use this clause. |
Usage notes
- Executing this command without the FOR USER clause returns the authentication methods for the current user.
Output
The command output provides information about authentication methods in the following columns: Column | Description name | System-generated name of the authentication method. type | Type of second factor of authentication. Possible values are: PASSKEY - User can use a passkey as their second factor of authentication. TOTP - User can use a time-based one-time passcode from an authenticator app as their second factor of authentication. DUO - User can use Duo as their second factor of authentication. comment | User-specified name of the authentication method. This name appears in Snowsight when authenticating. Empty if Duo is the second factor of authentication. last_used | Date and time when the user last authenticated with the authentication method. Empty if Duo is the second factor of authentication. created_on | Date and time when the user configured the authentication method for themselves. Empty if Duo is the second factor of authentication.
Known gaps
- The emulator does not authenticate individual users, so no multi-factor authentication method is ever enrolled for a user and there are no methods to list.