HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/awscli/customizations/__pycache__/assumerole.cpython-38.pyc
U

<�^;�@s`ddlZddlZddlmZddlmZe�e�Zej	�
ej	�dddd��Zdd	�Z
d
d�ZdS)�N)�ProfileNotFound)�
JSONFileCache�~z.awsZcli�cachecCs|jdtdd�dS)Nzsession-initializedZ&inject_assume_role_cred_provider_cache)Z	unique_id)�register�!inject_assume_role_provider_cache)Zevent_handlers�r�B/usr/lib/python3/dist-packages/awscli/customizations/assumerole.py�register_assume_role_providers�r
cKs\z|�d�}Wn tk
r.t�d�YdSX|�d�}tt�|_|�d�}tt�|_dS)NZcredential_providerz}ProfileNotFound caught when trying to inject assume-role cred provider cache.  Not configuring JSONFileCache for assume-role.zassume-rolezassume-role-with-web-identity)Z
get_componentr�LOG�debugZget_providerr�	CACHE_DIRr)Zsession�kwargsZ
cred_chainZassume_role_providerZweb_identity_providerrrr	rs


�r)�osZloggingZbotocore.exceptionsrZbotocore.credentialsrZ	getLogger�__name__r�path�
expanduser�joinr
r
rrrrr	�<module>s