---
title: "alpacon workspace mfa-methods"
description: "View allowed MFA methods for an Alpacon Cloud workspace. Interpret the JSON output and check whether the allowed methods let a passkey sign-in count as MFA."
---

> Full documentation index: https://docs.alpacax.com/llms.txt

# alpacon workspace mfa-methods

Display the MFA methods allowed in the workspace.

## Usage

`alpacon workspace mfa-methods [flags]`

## Key facts

- An empty `allowed_mfa_methods` list means no restriction.
- Passkey sign-in counts as MFA when the list is empty or allows biometrics or a hardware security key.
- `mfa` is an alias for `mfa-methods`.

## Flags

| Flag | Type | Description | Default |
| --- | --- | --- | --- |
| `-h, --help` | `bool` | help for mfa-methods | `false` |
| `--output` | `string` | Output format: table or json | `table` |

## Examples

View allowed MFA methods

```bash
alpacon workspace mfa-methods
```

Use the short aliases

```bash
alpacon ws mfa
```

Available in Alpacon Cloud only.

## Output

The command prints the workspace's MFA settings as JSON:

- `allowed_mfa_methods`: the allowed methods, with values such as `webauthn-roaming` (hardware security key), `webauthn-platform` (biometric authentication), `otp` (one-time password), `email`, and `recovery-code`. An empty list means no restriction.

Read the passkey result from `allowed_mfa_methods`. The output may also include `passkey_as_mfa`, a retired setting that no longer changes whether a passkey sign-in counts as MFA.

Source: https://docs.alpacax.com/reference/cli/workspace/mfa-methods/
