question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide a way to specify credentials interactively without echo

See original GitHub issue

On Windows there is no equivalent of read -s and done has to resort to advanced trickery if they want to avoid reviewing their password on the screen and in the clink history.

Would be nice if we could say addCredentials --interactive and be prompted for inputs on the console. The password should be read without echo, though echoing stars may be good for usability.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ddimtirovcommented, May 1, 2020

Let’s see if I can clear it with my company legal first…

Update: likely to take a month or few… please don’t close the issue, I have a prototype working will polish it and contribute when it is cleared.

Do you require a CLA or any other legal document?

1reaction
etiennestudercommented, May 1, 2020

@ddimtirov Want to give it a stab and provide a PR with an interactive mode (–interactive) that reads the credentials from the Console, working in both daemon and non-dameon mode, or at least failing gracefully in case of daemon mode?

Read more comments on GitHub >

github_iconTop Results From Across the Web

getpass() and getuser() in Python (Password without echo)
getpass() prompts the user for a password without echoing. The getpass module provides a secure way to handle the password prompts where ...
Read more >
How to get a password from a shell script without echoing
Here is another way to do it: #!/bin/bash # Read Password echo -n Password: read -s password echo # Run Command echo $password....
Read more >
Interactive mode · Issue #5 · etiennestuder/gradle-credentials ...
It'd be great if the plugin would allow for an interactive mode to ... Provide a way to specify credentials interactively without echo...
Read more >
$cred = Get-Credential without asking for prompts in powershell
I am trying to run a script and i wanted to run it silently without asking for credential prompts. · Is there a...
Read more >
How to encrypt credentials & secure passwords with ... - PDQ
First, we'll learn how to supply a credential without having to save it pants-down plain-text in your script for all the world (or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found