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: //lib/python3/dist-packages/awscli/customizations/__pycache__/assumerole.cpython-310.pyc
o

.&�a;�@s`ddlZddlZddlmZddlmZe�e�Zej	�
ej	�dddd��Zdd	�Z
d
d�ZdS)�N)�ProfileNotFound)�
JSONFileCache�~z.aws�cli�cachecCs|jdtdd�dS)Nzsession-initialized�&inject_assume_role_cred_provider_cache)�	unique_id)�register�!inject_assume_role_provider_cache)�event_handlers�r�B/usr/lib/python3/dist-packages/awscli/customizations/assumerole.py�register_assume_role_providers
�rcKsZz|�d�}Wntyt�d�YdSw|�d�}tt�|_|�d�}tt�|_dS)N�credential_providerz}ProfileNotFound caught when trying to inject assume-role cred provider cache.  Not configuring JSONFileCache for assume-role.zassume-rolezassume-role-with-web-identity)�
get_componentr�LOG�debug�get_providerr�	CACHE_DIRr)�session�kwargs�
cred_chain�assume_role_provider�web_identity_providerrrr
r
s
�

�r
)�os�logging�botocore.exceptionsr�botocore.credentialsr�	getLogger�__name__r�path�
expanduser�joinrrr
rrrr
�<module>s