Skip to content

VirtualMFADevice

Source code in docs_src/capo_iam/types/virtual_mfa_device.py
class VirtualMFADevice(TypedDict, closed=True):
    serial_number: "capo_iam.types.serial_number_type.serialNumberType"
    """<p>The serial number associated with <code>VirtualMFADevice</code>.</p>"""
    base32_string_seed: NotRequired["capo_iam.types.bootstrap_datum.BootstrapDatum"]
    """<p> The base32 seed defined as specified in <a href="https://tools.ietf.org/html/rfc3548.txt">RFC3548</a>. The <code>Base32StringSeed</code> is base32-encoded. </p>"""
    qr_code_png: NotRequired["capo_iam.types.bootstrap_datum.BootstrapDatum"]
    """<p> A QR code PNG image that encodes <code>otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String</code> where <code>$virtualMFADeviceName</code> is one of the create call arguments. <code>AccountName</code> is the user name if set (otherwise, the account ID otherwise), and <code>Base32String</code> is the seed in base32 format. The <code>Base32String</code> value is base64-encoded. </p>"""
    user: NotRequired["capo_iam.types.user.User"]
    """<p>The IAM user associated with this virtual MFA device.</p>"""
    enable_date: NotRequired["capo_iam.types.date_type.dateType"]
    """<p>The date and time on which the virtual MFA device was enabled.</p>"""
    tags: NotRequired["capo_iam.types.tag_list_type.tagListType"]
    """<p>A list of tags that are attached to the virtual MFA device. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the <i>IAM User Guide</i>.</p>"""

base32_string_seed instance-attribute

base32_string_seed: NotRequired[BootstrapDatum]

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

enable_date instance-attribute

enable_date: NotRequired[dateType]

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

qr_code_png instance-attribute

qr_code_png: NotRequired[BootstrapDatum]

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.

serial_number instance-attribute

serial_number: serialNumberType

The serial number associated with VirtualMFADevice.

tags instance-attribute

tags: NotRequired[tagListType]

A list of tags that are attached to the virtual MFA device. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

user instance-attribute

user: NotRequired[User]

The IAM user associated with this virtual MFA device.