Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
awscli
/
customizations
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: assumerole.cpython-310.pyc
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
Save
Cancel