def session_for_admin():
    auth = _password_auth(
        username=CONF.keystone_authtoken.admin_user,
        password=CONF.keystone_authtoken.admin_password,
        project_name=CONF.keystone_authtoken.admin_tenant_name,
        user_domain_name=CONF.admin_user_domain_name,
        project_domain_name=CONF.admin_project_domain_name)
    return keystone_session.Session(auth=auth)
Return a Keystone session for the admin user.
dataset/ETHPy150Open openstack/sahara/sahara/utils/openstack/keystone.py/session_for_admin