Multi-factor authentication

Set-IAMUserMFA

Synopsis

Set a user's multi-factor authentication.

Syntax

Set-IAMUserMFA [[-UIIdentityID] <String>] [-Value] <Object> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Sets a specified user's multi-factor authentication to one of the values: TFA, MFA, or NONE. Your users have five login attempts with MFA or 2FA before their account is locked. If their account is locked, run the Reset-IAMUserMFA operation to unlock it.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

‑UIIdentityID

A given user's ID. To get this value, run Get-IAMUser.

‑Value
Required

A user's multi-factor authentication method, either TFA, MFA, or NONE.

Related Links