diff --git a/unshackle/core/remote_auth.py b/unshackle/core/remote_auth.py index 3b2a947..d852578 100644 --- a/unshackle/core/remote_auth.py +++ b/unshackle/core/remote_auth.py @@ -16,7 +16,6 @@ import logging from typing import Any, Dict, Optional import click -import requests import yaml from unshackle.core.api.session_serializer import serialize_session @@ -53,8 +52,6 @@ class RemoteAuthenticator: """ self.remote_url = remote_url.rstrip("/") self.api_key = api_key - self.session = requests.Session() - self.session.headers.update({"X-API-Key": self.api_key, "Content-Type": "application/json"}) def authenticate_service_locally( self, service_tag: str, profile: Optional[str] = None, force_reauth: bool = False