HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/customizations/__pycache__/assumerole.cpython-36.pyc
3

�T_;�@s`ddlZddlZddlmZddlmZeje�Zej	j
ej	jdddd��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� /usr/lib/python3.6/assumerole.py�register_assume_role_providersr
cKsZy|jd�}Wntk
r,tjd�dSX|jd�}tt�|_|jd�}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