HEX
Server: LiteSpeed
System: Linux s787.bom1.mysecurecloudhost.com 4.18.0-477.13.1.lve.el8.x86_64 #1 SMP Thu Jun 1 16:40:47 EDT 2023 x86_64
User: mobilech (5348)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/customizations/__pycache__/assumerole.cpython-36.opt-1.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