You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IAM::Types::VirtualMFADevice

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Contains information about a virtual MFA device.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#base_32_string_seedString

The Base32 seed defined as specified in RFC3548. The Base32StringSeed is Base64-encoded.

Returns:

  • (String)

    The Base32 seed defined as specified in [RFC3548][1].

#enable_dateTime

The date and time on which the virtual MFA device was enabled.

Returns:

  • (Time)

    The date and time on which the virtual MFA device was enabled.

#qr_code_pngString

A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in Base32 format. The Base32String value is Base64-encoded.

Returns:

  • (String)

    A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in Base32 format.

#serial_numberString

The serial number associated with VirtualMFADevice.

Returns:

  • (String)

    The serial number associated with VirtualMFADevice.

#userTypes::User

The IAM user associated with this virtual MFA device.

Returns:

  • (Types::User)

    The IAM user associated with this virtual MFA device.