Skip to content

Commit d4ae27a

Browse files
committed
Return empty tokens.
1 parent b0fb3f6 commit d4ae27a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hub/src/main/java/cloud/katta/workflows/CreateVaultService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ static class STSInlinePolicyService {
202202
static STSInlinePolicyService disabled = new STSInlinePolicyService() {
203203
@Override
204204
TemporaryAccessTokens getSTSTokensFromAccessTokenWithCreateBucketInlinePolicy(final String token, final String roleArn, final String roleSessionName, final String stsEndpoint, final String bucketName, final String region, final Boolean bucketAcceleration) {
205-
return new TemporaryAccessTokens(null);
205+
return TemporaryAccessTokens.EMPTY;
206206
}
207207
};
208208

0 commit comments

Comments
 (0)