Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
awscli
/
customizations
/
configure
/
File Content:
list.pyc
� =��Xc @ sL d d l Z d d l m Z d d l m Z m Z d e f d � � YZ d S( i����N( t BasicCommandi ( t ConfigValuet NOT_SETt ConfigureListCommandc B sS e Z d Z d Z d Z d Z e j d � Z d � Z d � Z d � Z d � Z RS( t lists� 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. s+ aws configure list [--profile profile-name]s� 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 c C s# t t | � j | � | | _ d S( N( t superR t __init__t _stream( t selft sessiont stream( ( sD /tmp/pip-build-uEGWVr/awscli/awscli/customizations/configure/list.pyR / s c C s� | j t d d d � d � | j t d d d � d � | j j d k re t | j j d d � } n | j d � } | j | d � | j � \ } } | j | d � | j | d � | j d � } | j | d � d S( Nt Valuet Typet Locationt Names -----s ----s --------t manuals --profilet profilet access_keyt secret_keyt region( t _display_config_valueR t _sessionR t Nonet _lookup_configt _lookup_credentials( R t argst parsed_globalsR R R R ( ( sD /tmp/pip-build-uEGWVr/awscli/awscli/customizations/configure/list.pyt _run_main3 s c C s- | j j d | | j | j | j f � d S( Ns %10s %24s %16s %s ( R t writet valuet config_typet config_variable( R t config_valuet config_name( ( sD /tmp/pip-build-uEGWVr/awscli/awscli/customizations/configure/list.pyR G s c C s� | j d � } | j t k rK | j d � } | j � | j � | | f S| j j � } | d k r� t t d d � } | | f St | j | j d � } t | j | j d � } | j � | j � | | f Sd S( NR R t ( R R R t mask_valueR t get_credentialsR R R t methodR ( R R R t credentialst no_config( ( sD /tmp/pip-build-uEGWVr/awscli/awscli/customizations/configure/list.pyR L s"