From 4aedae095f7e76327d7748de68c4210394b3f0d2 Mon Sep 17 00:00:00 2001 From: Jose Boucourt Date: Thu, 15 Aug 2024 21:37:00 +0000 Subject: [PATCH] Updating --- gestalt/vault.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gestalt/vault.py b/gestalt/vault.py index be35b3f..415fccd 100644 --- a/gestalt/vault.py +++ b/gestalt/vault.py @@ -42,7 +42,7 @@ def __init__( self._scheme: str = scheme self._run_worker = True self.dynamic_token_queue: Queue[Tuple[str, str, str]] = Queue() - self.kubes_token: Optional[Tuple[str, str, str, str]] = None + self.kubes_token: Optional[Tuple[str, str, str, datetime]] = None self._vault_client: Optional[hvac.Client] = None self._secret_expiry_times: Dict[str, datetime] = dict() @@ -213,7 +213,7 @@ def _set_secrets_ttl(self, requested_data: Dict[str, Any], def scheme(self) -> str: return self._scheme - def _validate_token_expiration(self) -> None: # type: ignore + def _validate_token_expiration(self) -> None: # token_details = self.vault_client.auth.token.lookup_self() print(f"Token Stored after K8s Login: {self.kubes_token}") if self.kubes_token is not None: