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

Option to disable keyring #212

Open
joel-rolland opened this issue Jun 9, 2020 · 1 comment
Open

Option to disable keyring #212

joel-rolland opened this issue Jun 9, 2020 · 1 comment

Comments

@joel-rolland
Copy link

In our usage we would not use keyring and ask the user to always enter his password.
Is there a way to disable keyring and avoid prompt to save password in keyring?
if not, would it be possible to add this option?

Expected Behavior

In case of gimme-aws-creds usage without keyring, on call to gimme-aws-creds, the user is not asked to save his password in keyring nad user will always have to enter his password.

Current Behavior

on call to gimme-aws-creds, the user can add his password in keyring and if the user did not save his password in keyring, he is always asked to save his password in keyring.

Context

on call to gimme-aws-creds on system with keyring.

Your Environment

  • App Version used: gimme-aws-creds 2.3.3
  • Operating System and version: Windows 10, PowerShell 5.1.17763.1007
@keymon
Copy link

keymon commented Feb 7, 2022

Some workarounds:

  1. Disable the keyring store, but keeps asking to save
export PYTHON_KEYRING_BACKEND="keyring.backends.null.Keyring"
  1. Remove the key after adding it by accident:
keyring del gimme-aws-creds <email>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants