Skip to content

Resync Mfa Device

iam_resync_mfa_device R Documentation

Synchronizes the specified MFA device with its IAM resource object on the Amazon Web Services servers

Description

Synchronizes the specified MFA device with its IAM resource object on the Amazon Web Services servers.

For more information about creating and working with virtual MFA devices, see Using a virtual MFA device in the IAM User Guide.

Usage

iam_resync_mfa_device(UserName, SerialNumber, AuthenticationCode1,
  AuthenticationCode2)

Arguments

UserName

[required] The name of the user whose MFA device you want to resynchronize.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

SerialNumber

[required] Serial number that uniquely identifies the MFA device.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

AuthenticationCode1

[required] An authentication code emitted by the device.

The format for this parameter is a sequence of six digits.

AuthenticationCode2

[required] A subsequent authentication code emitted by the device.

The format for this parameter is a sequence of six digits.

Value

An empty list.

Request syntax

svc$resync_mfa_device(
  UserName = "string",
  SerialNumber = "string",
  AuthenticationCode1 = "string",
  AuthenticationCode2 = "string"
)