Skip to content

Commit 06fe587

Browse files
committed
Change tag key to "Vault" to reference Vault UUID as in other API usages.
1 parent 3e48113 commit 06fe587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hub/src/main/java/cloud/katta/protocols/s3/STSChainedAssumeRoleRequestInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public TemporaryAccessTokens assumeRoleWithWebIdentity(final Credentials credent
5656
// Assume role with previously obtained temporary access token
5757
return super.assumeRole(credentials.withTokens(tokens)
5858
.withProperty(Profile.STS_ROLE_ARN_PROPERTY_KEY, settings.getProperty(S3AssumeRoleProtocol.S3_ASSUMEROLE_ROLEARN_TAG))
59-
.withProperty(Profile.STS_TAGS_PROPERTY_KEY, String.format("%s=%s", "VaultRequested", settings.getProperty(S3AssumeRoleProtocol.OAUTH_TOKENEXCHANGE_VAULT)))
59+
.withProperty(Profile.STS_TAGS_PROPERTY_KEY, String.format("%s=%s", "Vault", settings.getProperty(S3AssumeRoleProtocol.OAUTH_TOKENEXCHANGE_VAULT)))
6060
);
6161
}
6262
return tokens;

0 commit comments

Comments
 (0)