Skip to content
Discussion options

You must be logged in to vote

Thank you for your reply. I believe I've found the cause of the issue. When requesting STS in the same way, I encountered a 501 error with rustfs version 1.0.0-alpha.73, but it works fine with version 1.0.0-alpha.76.

        AwsCredentials staticCreds = AwsBasicCredentials.create(PERMANENT_ACCESS_KEY, PERMANENT_SECRET_KEY);
        StsClient stsClient = StsClient.builder()
            .credentialsProvider(StaticCredentialsProvider.create(staticCreds))
            .endpointOverride(URI.create(STS_ENDPOINT))
            .region(Region.US_EAST_1)
            .build();
        AssumeRoleRequest assumeRoleRequest = AssumeRoleRequest.builder()
            .roleArn(ROLE_ARN)
            .roleSes…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@OHUO0
Comment options

Answer selected by OHUO0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants