Skip to content

Get Mfa Device

iam_get_mfa_device R Documentation

Retrieves information about an MFA device for a specified user

Description

Retrieves information about an MFA device for a specified user.

Usage

iam_get_mfa_device(SerialNumber, UserName)

Arguments

SerialNumber

[required] Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.

UserName

The friendly name identifying the user.

Value

A list with the following syntax:

list(
  UserName = "string",
  SerialNumber = "string",
  EnableDate = as.POSIXct(
    "2015-01-01"
  ),
  Certifications = list(
    "string"
  )
)

Request syntax

svc$get_mfa_device(
  SerialNumber = "string",
  UserName = "string"
)