jupyter-server / enterprise_gateway

A lightweight, multi-tenant, scalable and secure gateway that enables Jupyter Notebooks to share resources across distributed clusters such as Apache Spark, Kubernetes and others.
https://jupyter-enterprise-gateway.readthedocs.io/en/latest/
Other
615 stars 220 forks source link

feat: Add options to mutual authentication #1320

Closed s4mukka closed 9 months ago

s4mukka commented 10 months ago

Problem

Currently, Jupyter Server only supports "REQUIRED" mutual authentication on YARN, which may not be sufficient for some use cases. For example, in scenarios where mutual authentication is not required to establish a secure connection between the server and clients, there is no built-in way to configure this in Enterprise Gateway.

Feature details

I suggest adding an option to the Jupyter Server configuration that allows users optional mutual authentication. When introducing this feature, users can specify with REQUIRED, OPTIONAL or DISABLED. This enhancement would greatly improve user configuration freedom.

Implementation Details

I included a variable EG_YARN_MUTUAL_AUTHENTICATION which users can specify with REQUIRED, OPTIONAL or DISABLED. The value is REQUIRED by defaul

welcome[bot] commented 10 months ago

Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly. welcome You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

welcome[bot] commented 9 months ago

Congrats on your first merged pull request in this project! :tada: congrats Thank you for contributing, we are very proud of you! :heart: