| Server IP : 167.99.254.82 / Your IP : 216.73.216.188 Web Server : Apache System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/awscli/customizations/__pycache__/ |
Upload File : |
o
.&�a� � @ sd d Z ddlZddlmZ ddlmZ ddlmZ dZdZde ZG d d
� d
e�Z G dd� de
�ZdS )
a\
This customization makes it easier to deal with the bootstrapping
data returned by the ``iam create-virtual-mfa-device`` command.
You can choose to bootstrap via a QRCode or via a Base32String.
You specify your choice via the ``--bootstrap-method`` option
which should be either "QRCodePNG" or "Base32StringSeed". You
then specify the path to where you would like your bootstrapping
data saved using the ``--outfile`` option. The command will
pull the appropriate data field out of the response and write it
to the specified file. It will also remove the two bootstrap data
fields from the response.
� N)�StatefulArgument)�resolve_given_outfile_path)�is_parsed_result_successful)� QRCodePNG�Base32StringSeedzMThe output path and file name where the bootstrap information will be stored.zAMethod to use to seed the virtual MFA. Valid values are: %s | %sc s e Zd Z� fdd�Z� ZS )�FileArgumentc s t |�}tt| ��||� d S )N)r �superr �
add_to_params)�self�
parameters�value�� __class__� �B/usr/lib/python3/dist-packages/awscli/customizations/iamvirtmfa.pyr ) s zFileArgument.add_to_params)�__name__�
__module__�__qualname__r �
__classcell__r r r
r r '