Version 2 is here. This version has introduced API changes. The trade-off of small code changes to adjust for these changes is a new level of flexibility for future secret sources.
**If you've only used `.get()` and created an instance of SecretBox with `SecretBox(autoload=true)` then you should not notice a change!**
Removed
- class method `load()`
- class method `load_env_vars()`
- class method `load_env_file()`
- class method `load_aws_store()`
- class positional arguments `filename`, `aws_sstore_name`, `aws_region_name`
Added
- class method `load_from()`
Changes to behavior:
1. **AWS Users**: `autoload=True` will *no longer* include AWS secret manager.
- Fix: include the following call to load AWS secret manager
py
secrets = SecretBox(auto_load=True)
secrets.load_from(["awssecrets"], aws_sstore_name="mock", aws_region_name="us-east-2")
**Full Changelog**: https://github.com/Preocts/secretbox/compare/v1.6.1...v2.0.0