You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This worked up to (and including) 0.32.1-beta. As of 0.32.2 EcsCredentialsProvider() fails to compile, indicating that the constructor is internal. #946 removed public constructor() : this(PlatformProvider.System) but did not adjust the primary constructors visibility.
Expected behavior
EcsCredentialsProvider has an accessible constructor and can be external instantiated.
Current behavior
Unable to compile against 0.32.2-beta / use EcsCredentialsProvider
Steps to Reproduce
Using 0.32.2-beta create a new EcsCredentialsProvider() and observe the compilation failure.
Possible Solution
Make EcsCredentialsProvider constructor public for symmetry with other credentials providers. Consumers should be able to recreate (selectively / with adjustments) what DefaultChainCredentialsProvider does.
Context
No response
AWS Kotlin SDK version used
0.32.2-breta
Platform (JVM/JS/Native)
JVM
Operating System and version
MacOS
The text was updated successfully, but these errors were encountered:
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
Using
EcsCredentialsProvider
as part of configuring SDK clients, something like:This worked up to (and including) 0.32.1-beta. As of 0.32.2
EcsCredentialsProvider()
fails to compile, indicating that the constructor is internal. #946 removedpublic constructor() : this(PlatformProvider.System)
but did not adjust the primary constructors visibility.Expected behavior
EcsCredentialsProvider
has an accessible constructor and can be external instantiated.Current behavior
Unable to compile against 0.32.2-beta / use
EcsCredentialsProvider
Steps to Reproduce
Using 0.32.2-beta create a new
EcsCredentialsProvider()
and observe the compilation failure.Possible Solution
Make
EcsCredentialsProvider
constructor public for symmetry with other credentials providers. Consumers should be able to recreate (selectively / with adjustments) whatDefaultChainCredentialsProvider
does.Context
No response
AWS Kotlin SDK version used
0.32.2-breta
Platform (JVM/JS/Native)
JVM
Operating System and version
MacOS
The text was updated successfully, but these errors were encountered: