Skip to content

Get JUPYTERHUB_API_TOKEN from secret#693

Open
NarekA wants to merge 3 commits intojupyterhub:mainfrom
NarekA:narek/use-secret-for-api-token
Open

Get JUPYTERHUB_API_TOKEN from secret#693
NarekA wants to merge 3 commits intojupyterhub:mainfrom
NarekA:narek/use-secret-for-api-token

Conversation

@NarekA
Copy link
Copy Markdown

@NarekA NarekA commented Jan 6, 2023

Trying to reslove #398

This might be redundant from #471

@welcome
Copy link
Copy Markdown

welcome bot commented Jan 6, 2023

Thanks for submitting your first pull request! You are awesome! 🤗

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! 👋

Welcome to the Jupyter community! 🎉

Co-authored-by: Maxim Martynov <martinov_m_s_@mail.ru>
name="JUPYTERHUB_API_TOKEN",
value_from=V1EnvVarSource(
secret_key_ref=V1SecretKeySelector(
name=user_secret_name, key="JUPYTERHUB_API_TOKEN"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why secret ref name is configurable, but secret name itself is not?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ref has to be unique per user, so we need to pass it the user name.

@sstarcher
Copy link
Copy Markdown
Contributor

@NarekA @dolfinus any engagement on this? Anyone else able to review?

@SarunasAzna
Copy link
Copy Markdown

SarunasAzna commented Jul 1, 2025

Any idea about the progress of this feature? Why is it blocked (maybe some other way introduced)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

6 participants