You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IAM::VirtualMfaDevice
- Inherits:
-
Resources::Resource
- Object
- Resources::Resource
- Aws::IAM::VirtualMfaDevice
- Defined in:
- (unknown)
Instance Attribute Summary collapse
-
#base_32_string_seed ⇒ String
readonly
The base32 seed defined as specified in [RFC3548][1].
-
#enable_date ⇒ Time
readonly
The date and time on which the virtual MFA device was enabled.
-
#qr_code_png ⇒ String
readonly
A QR code PNG image that encodes
otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String
where$virtualMFADeviceName
is one of the create call arguments. -
#serial_number ⇒ String
readonly
Attributes inherited from Resources::Resource
Instance Method Summary collapse
-
#delete ⇒ Struct
Deletes a virtual MFA device.
You must deactivate a user's virtual MFA device before you can delete it.
-
#initialize ⇒ Object
constructor
-
#user ⇒ User?
Methods inherited from Resources::Resource
add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until
Methods included from Resources::OperationMethods
#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations
Constructor Details
#initialize(serial_number, options = {}) ⇒ Object #initialize(options = {}) ⇒ Object
Instance Attribute Details
#base_32_string_seed ⇒ String (readonly)
The base32 seed defined as specified in RFC3548. The
Base32StringSeed
is base64-encoded.
#enable_date ⇒ Time (readonly)
The date and time on which the virtual MFA device was enabled.
#qr_code_png ⇒ String (readonly)
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 ⇒ String (readonly)
Instance Method Details
#delete ⇒ Struct
Deletes a virtual MFA device.
You must deactivate a user's virtual MFA device before you can delete it. For information about deactivating MFA devices, see DeactivateMFADevice.