Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Masking Env-Prompts #424

Open
max06 opened this issue Nov 8, 2023 · 0 comments
Open

Masking Env-Prompts #424

max06 opened this issue Nov 8, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@max06
Copy link

max06 commented Nov 8, 2023

I use interactive env var prompts quite often in my notebooks, for example

export ART_USER=Your mail address
export ART_TOKEN=Your identity token you just created
...

When using these notebooks in shared environments (like a zoom call with colleagues), it would be great to have secrets not shown while entering them.

I'm aware, extending the syntax to add such options wouldn't be very easy without breaking shell compatibility. To solve this, I'd suggest masking input if the variable name (or the provided placeholder) point to a potential secret. See the example above, TOKEN should indicate a possible secret.

@sourishkrout sourishkrout added the enhancement New feature or request label Nov 8, 2023
@sourishkrout sourishkrout self-assigned this Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants