def METHOD_NAME(self) -> None:
    self.log(f"Updating {self.cert_secret} from AWS.")
    with tempfile.TemporaryDirectory() as temp_dir:
        for filename in ("cert.pem", "key.pem"):
            self.log(f"Pull {self.cert_secret}/{filename} from AWS S3")
            secret_filename = Path(temp_dir) / filename
            self.aws.pull(f"{self.cert_secret}/{filename}", secret_filename)
        # We could use the kubernetes module but since this image already has
        # kubectl, it is easier to just use that
        # First, delete the old secret
        run_cmd(
            [
                "kubectl",
                "-n",
                self.namespace,
                "delete",
                "secret",
                self.cert_secret,
                "--ignore-not-found",
            ]
        )
        key_file = Path(temp_dir) / "key.pem"
        cert_file = Path(temp_dir) / "cert.pem"
        run_cmd(
            [
                "kubectl",
                "-n",
                self.namespace,
                "create",
                "secret",
                "tls",
                self.cert_secret,
                "--key",
                str(key_file),
                "--cert",
                str(cert_file),
            ]
        )