Migrate AWS SDK v1 web identity token and assume role credentials providers
Apache 2.0v2-migration only renames WebIdentityTokenCredentialsProvider and STSAssumeRoleSessionCredentialsProvider, whose v2 counterparts have no public constructors. Their constructors, factories and builders become WebIdentityTokenFileCredentialsProvider.create() or its builder, and a StsAssumeRoleCredentialsProvider built from an StsClient and an AssumeRoleRequest.
org. openrewrite. aws. sdk. MigrateAwsWebIdentityAndAssumeRoleCredentialsmod run . --recipe= org. openrewrite. aws. sdk. MigrateAwsWebIdentityAndAssumeRoleCredentialsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.