Make the use of system keychain optional #440
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Added a new config option (
enable_keychain
) and CLI parameter (--disable-keychain
).enable_keychain
defaults to TRUE so that existing behavior is not affected. If--disable-keychain
is used orenable_keychain = False
, the system keychain will not be used and the user will always be prompted for their password.Related Issue
#212
Motivation and Context
Some organizations may want to avoid the storage of user credentials and force the user to input their password on every use.
How Has This Been Tested?
tested on macOS 13.6 with Python 3.11.6
Types of changes
Checklist: