Class: Aws::IAM::Types::VirtualMFADevice
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::VirtualMFADevice
- Defined in:
- gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb
Overview
Contains information about a virtual MFA device.
Constant Summary collapse
- SENSITIVE =
[:base_32_string_seed, :qr_code_png]
Instance Attribute Summary collapse
-
#base_32_string_seed ⇒ String
The base32 seed defined as specified in [RFC3548][1].
-
#enable_date ⇒ Time
The date and time on which the virtual MFA device was enabled.
-
#qr_code_png ⇒ String
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. -
#tags ⇒ Array<Types::Tag>
A list of tags that are attached to the virtual MFA device.
-
#user ⇒ Types::User
The IAM user associated with this virtual MFA device.
Instance Attribute Details
#base_32_string_seed ⇒ String
The base32 seed defined as specified in RFC3548. The
Base32StringSeed is base32-encoded.
13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 |
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 13487 class VirtualMFADevice < Struct.new( :serial_number, :base_32_string_seed, :qr_code_png, :user, :enable_date, :tags) SENSITIVE = [:base_32_string_seed, :qr_code_png] include Aws::Structure end |
#enable_date ⇒ Time
The date and time on which the virtual MFA device was enabled.
13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 |
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 13487 class VirtualMFADevice < Struct.new( :serial_number, :base_32_string_seed, :qr_code_png, :user, :enable_date, :tags) SENSITIVE = [:base_32_string_seed, :qr_code_png] include Aws::Structure end |
#qr_code_png ⇒ 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. The
Base32String value is base64-encoded.
13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 |
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 13487 class VirtualMFADevice < Struct.new( :serial_number, :base_32_string_seed, :qr_code_png, :user, :enable_date, :tags) SENSITIVE = [:base_32_string_seed, :qr_code_png] include Aws::Structure end |
#serial_number ⇒ String
The serial number associated with VirtualMFADevice.
13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 |
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 13487 class VirtualMFADevice < Struct.new( :serial_number, :base_32_string_seed, :qr_code_png, :user, :enable_date, :tags) SENSITIVE = [:base_32_string_seed, :qr_code_png] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
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.
13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 |
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 13487 class VirtualMFADevice < Struct.new( :serial_number, :base_32_string_seed, :qr_code_png, :user, :enable_date, :tags) SENSITIVE = [:base_32_string_seed, :qr_code_png] include Aws::Structure end |
#user ⇒ Types::User
The IAM user associated with this virtual MFA device.
13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 |
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 13487 class VirtualMFADevice < Struct.new( :serial_number, :base_32_string_seed, :qr_code_png, :user, :enable_date, :tags) SENSITIVE = [:base_32_string_seed, :qr_code_png] include Aws::Structure end |