Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
awscli
/
customizations
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: iamvirtmfa.cpython-310.pyc
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 '