Skip to content
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.uid2</groupId>
<artifactId>uid2-core</artifactId>
<version>2.30.127</version>
<version>2.30.128-alpha-186-SNAPSHOT</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand All @@ -24,7 +24,7 @@
<vertx.verticle>com.uid2.core.vertx.CoreVerticle</vertx.verticle>
<launcher.class>io.vertx.core.Launcher</launcher.class>

<uid2-shared.version>11.4.16</uid2-shared.version>
<uid2-shared.version>11.6.0</uid2-shared.version>
<netty.version>4.1.135.Final</netty.version>
<image.version>${project.version}</image.version>
</properties>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/uid2/core/service/JWTTokenProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import java.util.function.Supplier;

import software.amazon.awssdk.auth.credentials.AwsBasicCredentials;
import software.amazon.awssdk.auth.credentials.WebIdentityTokenFileCredentialsProvider;
import software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider;
import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider;
import software.amazon.awssdk.core.SdkBytes;
import software.amazon.awssdk.regions.Region;
Expand Down Expand Up @@ -154,7 +154,7 @@ private static KmsClient getKmsClient(KmsClientBuilder kmsClientBuilder, JsonObj
throw e;
}
} else {
WebIdentityTokenFileCredentialsProvider credentialsProvider = WebIdentityTokenFileCredentialsProvider.create();
DefaultCredentialsProvider credentialsProvider = DefaultCredentialsProvider.create();
Comment thread
sophia-chen-ttd marked this conversation as resolved.
Comment thread
sophia-chen-ttd marked this conversation as resolved.
Comment thread
sophia-chen-ttd marked this conversation as resolved.

client = kmsClientBuilder
.region(Region.of(region))
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/com/uid2/core/service/MetadataProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
import io.vertx.core.json.Json;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
import lombok.Getter;

import static com.uid2.core.util.MetadataHelper.*;

@Getter
public abstract class MetadataProvider {
private final ICloudStorage metadataStreamProvider;
private final ICloudStorage downloadUrlGenerator;
Expand Down