def set_credentials(credentials):
    threading.current_thread().credentials = credentials
    return credentials
Set the current thread's credentials.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/rbac.py/set_credentials