403Webshell
Server IP : 167.99.254.82  /  Your IP : 216.73.217.16
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/configure/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/awscli/customizations/configure/__pycache__/list.cpython-310.pyc
o

.&�au�@s8ddlZddlmZddlmZmZGdd�de�ZdS)�N)�BasicCommand�)�ConfigValue�NOT_SETcsReZdZdZdZdZdZejf�fdd�	Z	dd�Z
d	d
�Zdd�Zd
d�Z
�ZS)�ConfigureListCommand�lista�List the AWS CLI configuration data.  This command will show you the current configuration data.  For each configuration item, it will show you the value, where the configuration value was retrieved, and the configuration variable name.  For example, if you provide the AWS region in an environment variable, this command will show you the name of the region you've configured, it will tell you that this value came from an environment variable, and it will tell you the name of the environment variable.
z+aws configure list [--profile profile-name]a�To show your current configuration values::

  $ aws configure list
        Name                    Value             Type    Location
        ----                    -----             ----    --------
     profile                <not set>             None    None
  access_key     ****************ABCD      config_file    ~/.aws/config
  secret_key     ****************ABCD      config_file    ~/.aws/config
      region                us-west-2              env    AWS_DEFAULT_REGION

cstt|��|�||_dS)N)�superr�__init__�_stream)�self�session�stream��	__class__��F/usr/lib/python3/dist-packages/awscli/customizations/configure/list.pyr	/s
zConfigureListCommand.__init__cCs�|�tddd�d�|�tddd�d�|r$|jdur$t|jjdd	�}n|�d
�}|�|d
�|��\}}|�|d�|�|d�|�d
�}|�|d
�dS)N�Value�Type�Location�Namez-----z----z--------�manualz	--profile�profile�
access_key�
secret_key�region)�_display_config_valuerr�_session�_lookup_config�_lookup_credentials)r�args�parsed_globalsrrrrrrr�	_run_main3s��

zConfigureListCommand._run_maincCs"|j�d||j|j|jf�dS)Nz%10s %24s %16s    %s
)r
�write�value�config_type�config_variable)r�config_value�config_namerrrrFs
�z*ConfigureListCommand._display_config_valuecCs�|�d�}|jtur|�d�}|��|��||fS|j��}|dur.ttdd�}||fSt|j|jd�}t|j	|jd�}|��|��||fS)Nrr�)
rr#r�
mask_valuer�get_credentialsrr�methodr)rrr�credentials�	no_configrrrrKs&



��z(ConfigureListCommand._lookup_credentialscCsh|jj|dd�}|durt|d|jj|d�S|jj|dd�}|dur.t|d|j�d��Sttdd�S)N)�env)�methodsr.r)�configzconfig-file�config_file)r�get_config_variabler�session_var_mapr)r�namer#rrrrks
�z#ConfigureListCommand._lookup_config)�__name__�
__module__�__qualname__�NAME�DESCRIPTION�SYNOPSIS�EXAMPLES�sys�stdoutr	r!rrr�
__classcell__rrrrrs��
 r)r<�awscli.customizations.commandsrr(rrrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit