HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/awscli/customizations/__pycache__/ecr_public.cpython-310.pyc
o

.&�a��@sPddlmZddlmZddlmZddlZdd�Zdd�ZGd	d
�d
e�Z	dS)�)�BasicCommand)�!create_client_from_parsed_globals)�	b64decodeNcCs|�dt�dS)Nz!building-command-table.ecr-public)�register�_inject_commands)�cli�r�B/usr/lib/python3/dist-packages/awscli/customizations/ecr_public.py�register_ecr_public_commands�r
cKst|�|d<dS)N�get-login-password)�ECRPublicGetLoginPassword)�
command_table�session�kwargsrrr	rrrc@s&eZdZdZdZe�d�Zdd�ZdS)r
z?Get a password to be used with container clients such as Dockerrz-ecr-public/get-login-password_description.rstc	CsXt|jd|�}|��}|d}t|d���}|�d�\}}tj�|�tj�d�dS)Nz
ecr-public�authorizationData�authorizationToken�:�
r)	r�_session�get_authorization_tokenr�decode�split�sys�stdout�write)	�self�parsed_args�parsed_globals�ecr_public_client�result�auth�
auth_token�_�passwordrrr	�	_run_main#s�z#ECRPublicGetLoginPassword._run_mainN)	�__name__�
__module__�__qualname__�__doc__�NAMEr�	FROM_FILE�DESCRIPTIONr%rrrr	r
s�r
)
�awscli.customizations.commandsr�awscli.customizations.utilsr�base64rrr
rr
rrrr	�<module>s