-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImdsCredentialsProvider builder warns provider config override by a full client override
, but uses both
#582
Comments
Thanks for submitting. I'll see if we can remove or reword the warning to make it more helpful. |
@Velfi I'm hoping it'd be possible to remove the warning; as far as I can tell, it's legitimate to do this. |
Created smithy-lang/smithy-rs#1559 to remove the warning. |
This went out in the July 21st SDK release. |
|
Describe the bug
The builder for ImdsCredentialsProvider has a warning if calling both
.configure
and.imds_client
.However, the
.build()
method uses the ProviderConfig even if the IMDS client is overridden, making it valid to override both.Please consider dropping this warning.
Expected Behavior
Calling both
.configure
and.imds_client
without a warning.Current Behavior
provider config override by a full client override
warning.Reproduction Steps
ImdsCredentialsProvider::builder().configure(...).imds_client(...).build()
Possible Solution
No response
Additional Information/Context
No response
Version
Environment details (OS name and version, etc.)
Debian, latest sid
Logs
No response
The text was updated successfully, but these errors were encountered: