Factored out key handle for session to helper