pegleg/tests/unit/engine/util
Hughes, Alexander (ah8742) ea99c79844 Move credentials logic into config.py
Currently there isn't a uniform or easily expandable way to manage
how Pegleg gets credentials or enforces any complexity on them. This
patchset attempts to address this by:

1. Moving all logic for credentials into config.py
2. Using PeglegSecretManagement as the source of interfacing with
   config.py as this code is the entry point for any encryption or
   decryption work
3. Remove unnecessary code related to this change
4. Update unit tests

In future patchsets the goal is to use these changes to add in a global
passphrase and salt variable into config.py so that encrypt/decrypt type
commands can be executed one time against a site and intelligently
handle retrieval of global credentials for use with global secrets, site
credentials in the form of environment variables will remain used for
site secrets and will not be overridden by any global operations.

Change-Id: I0b6acd3ef5eab6b1f8931f46544bc53443f5c2c0
2019-06-20 11:31:18 +00:00
..
__init__.py Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00
test_cryptostring.py Ensure cryptostrings contain all char types 2019-04-11 13:22:58 -05:00
test_definition.py Implement global lint and lint by site logic 2018-10-02 21:41:56 +01:00
test_files.py Fix multiple I/O issues in cert generation 2019-05-28 14:36:07 -05:00
test_git.py Update AIAB repo names 2019-06-03 15:59:22 +00:00
test_shipyard_helper.py Move credentials logic into config.py 2019-06-20 11:31:18 +00:00