Class | AWS::IAM::VirtualMfaDevice |
In: |
lib/aws/iam/virtual_mfa_device.rb
|
Parent: | Resource |
@attr_reader [String] base_32_string_seed The Base32 seed defined as
specified in RFC3548. Only accessible on newly created devices. This value is Base64-encoded.
@attr_reader [Blob] qr_code_png 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 (accountId otherwise), and Base32String is the seed in Base32 format. Only accessible on newly created devices. This value is Base64-encoded.
@attr_reader [DateTime] enable_date When this device was enabled.
Returns nil if this device has not been enabled.
serial_number | -> | arn |
serial_number | [R] | @return [String] Returns the virtual MFA device serial number (ARN). |
Deactivates the MFA device and removes it from association with the user for which it was originally enabled. @return [nil]
Enables the MFA device and associates it with the specified user. When enabled, the MFA device is required for every subsequent login by the user name associated with the device. @param [User,String] user The user (or user name string) you want
to enable this device for.
@param [String] code1 An authentication code emitted by the device. @param [String] code2 A subsequent authentication code emitted by
the device.