mchades opened a new issue, #9236: URL: https://github.com/apache/gravitino/issues/9236
### What would you like to be improved? Currently, several `CredentialProvider` implementations (e.g., for AWS, GCP, Azure) have direct dependencies on their respective heavy cloud SDKs. This design makes the providers heavyweight, which can lead to unnecessary dependency bloat for users. It goes against the design principle of keeping providers lightweight for ServiceLoader. ### How should we improve? We should introduce a new `CredentialGenerator` interface to encapsulate all SDK-specific logic and heavy dependencies. The `CredentialProvider` implementations should be refactored to be lightweight delegates that lazily load their corresponding `CredentialGenerator` via reflection. This will decouple the providers from the SDKs, improve modularity, and ensure that heavy dependencies are only loaded when a specific provider is actually used. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
