You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes we change our PennKey passwords. Right? ;)
I use --storepass in various places to safely store it and reduce password fatigue. After changing my password, instead of having to figure out how to use OS-specific ways to delete my stored PennPass, I'd prefer that simply running aws-federated-auth --storepass will replace the current pass with the new one. OR there's a --removepass option. Or both.
I believe that the first option (re-prompt and store) could be as simple as:
$ git diff
diff --git a/shib/cli.py b/shib/cli.py
index 3c6106f..59d0ea6 100644
--- a/shib/cli.py
+++ b/shib/cli.py
@@ -259,7 +259,7 @@ def main():
password = None
password_stored = False
- if keyring is not None:
+ if keyring is not None and not args.storepass:
try:
password = keyring.get_password("aws-federated-auth", "password")
except Exception:
Happy to push that to a feature for review, if others think it's the right way to go.
The text was updated successfully, but these errors were encountered:
Sometimes we change our PennKey passwords. Right? ;)
I use
--storepass
in various places to safely store it and reduce password fatigue. After changing my password, instead of having to figure out how to use OS-specific ways to delete my stored PennPass, I'd prefer that simply runningaws-federated-auth --storepass
will replace the current pass with the new one. OR there's a--removepass
option. Or both.I believe that the first option (re-prompt and store) could be as simple as:
Happy to push that to a feature for review, if others think it's the right way to go.
The text was updated successfully, but these errors were encountered: