Open reallyrandom opened 3 years ago
The following log line records API keys in plain text
[D 2021-01-13 21:16:04.593 JupyterHub fargatespawner:351] Request response ...
JUPYTERHUB_API_TOKEN JPY_API_TOKEN
I believe this is the line writing the log: https://github.com/uktrade/fargatespawner/blob/master/fargatespawner/fargatespawner.py#L203
run_response = await _run_task(self.log, self._aws_endpoint(), self.get_run_task_args(self))
The following log line records API keys in plain text
[D 2021-01-13 21:16:04.593 JupyterHub fargatespawner:351] Request response ...
JUPYTERHUB_API_TOKEN JPY_API_TOKEN
I believe this is the line writing the log: https://github.com/uktrade/fargatespawner/blob/master/fargatespawner/fargatespawner.py#L203
run_response = await _run_task(self.log, self._aws_endpoint(), self.get_run_task_args(self))