| Server IP : 167.99.254.82 / Your IP : 216.73.216.252 Web Server : Apache System : Linux host.techisquad.com 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/awscli/customizations/__pycache__/ |
Upload File : |
o
.&�a; � @ s` d dl Z d dlZd dlmZ d dlmZ e�e�Ze j �
e j �dddd��Zdd � Z
d
d� ZdS )� N)�ProfileNotFound)�
JSONFileCache�~z.aws�cli�cachec C s | j dtdd� d S )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_provider s
�r c K sZ z| � d�}W n ty t�d� Y d S w |�d�}tt�|_|�d�}tt�|_d S )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�joinr r r
r r r r
�<module> s