class
Amazonite::Iam::VirtualMFADevice
- Amazonite::Iam::VirtualMFADevice
- Reference
- Object
Overview
Contains information about a virtual MFA device.
Defined in:
iam/virtual_mfa_device.crConstructors
- .from_xml(node : XML::Node) : self
- .new(serial_number : String, base_32_string_seed : Bytes | Nil = nil, qr_code_png : Bytes | Nil = nil, user : User | Nil = nil, enable_date : Time | Nil = nil, tags : Array(Tag) | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#base_32_string_seed : Bytes | Nil
The base32 seed defined as specified in RFC3548.
-
#base_32_string_seed=(base_32_string_seed : Bytes | Nil)
The base32 seed defined as specified in RFC3548.
-
#enable_date : Time | Nil
The date and time on which the virtual MFA device was enabled.
-
#enable_date=(enable_date : Time | Nil)
The date and time on which the virtual MFA device was enabled.
-
#hash(hasher)
See
Object#hash(hasher) -
#qr_code_png : Bytes | Nil
A QR code PNG image that encodes
otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32Stringwhere$virtualMFADeviceNameis one of the create call arguments. -
#qr_code_png=(qr_code_png : Bytes | Nil)
A QR code PNG image that encodes
otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32Stringwhere$virtualMFADeviceNameis one of the create call arguments. -
#serial_number : String
The serial number associated with
VirtualMFADevice. -
#serial_number=(serial_number : String)
The serial number associated with
VirtualMFADevice. -
#tags : Array(Tag) | Nil
A list of tags that are attached to the virtual MFA device.
-
#tags=(tags : Array(Tag) | Nil)
A list of tags that are attached to the virtual MFA device.
- #to_query_params(prefix : String) : Array(Tuple(String, String))
-
#user : User | Nil
The IAM user associated with this virtual MFA device.
-
#user=(user : User | Nil)
The IAM user associated with this virtual MFA device.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The base32 seed defined as specified in RFC3548. The
Base32StringSeed is base32-encoded.
The base32 seed defined as specified in RFC3548. The
Base32StringSeed is base32-encoded.
The date and time on which the virtual MFA device was enabled.
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.
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.
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.
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.