Skip to content

Commit

Permalink
Updating
Browse files Browse the repository at this point in the history
  • Loading branch information
jboucourt committed Aug 15, 2024
1 parent 1849f57 commit 4aedae0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gestalt/vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 4aedae0

Please sign in to comment.