jamf-pro-sdk-python
jamf-pro-sdk-python copied to clipboard
Credential Providers Refactoring
Overview
This PR implements the following:
- Refactored
BasicAuthCredentialProvidertoUserCredentialsProviderthroughout codebase - Refactored
LoadFromAWSSecretsManager,PromptForCredentialsandLoadFromKeychaininto helper functions instead of classes. Each function returns aCredentialProvidertype that is specified or raises aTypeErrorif an invalid credential provider was passed. - Adjusted top-level imports of package accordingly--credential provider classes and helper functions can be imported at the top level
- Updated project docs with refactors, breaking changes, and added section on helper functions in the getting started page.
Closes #47
Secondary
The integration unit test steps have been commented out in the runner (.github/workflows/main_pr_tests.yaml) for now after discussing with Bryson.