Skip to content

Commit 8fe520e

Browse files
committed
Allowing to enable AWS SDK for go authentication
Signed-off-by: Friedrich Gonzalez <[email protected]>
1 parent f084718 commit 8fe520e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
* [FEATURE] Storage/Bucket: Added `-*.s3.bucket-lookup-type` allowing to configure the s3 bucket lookup type. #4794
5959
* [FEATURE] QueryFrontend: Implement experimental vertical sharding at query frontend for range/instant queries. #4863
6060
* [FEATURE] Querier: Added a new limit `-querier.max-fetched-data-bytes-per-query` allowing to limit the maximum size of all data in bytes that a query can fetch from each ingester and storage. #4854
61+
* [BUGFIX] Storage/Bucket: Enable AWS SDK for go authentication for s3 to fix IMDSv1 authentication. #4897
6162
* [BUGFIX] Memberlist: Add join with no retrying when starting service. #4804
6263
* [BUGFIX] Ruler: Fix /ruler/rule_groups returns YAML with extra fields. #4767
6364
* [BUGFIX] Respecting `-tracing.otel.sample-ratio` configuration when enabling OpenTelemetry tracing with X-ray. #4862

pkg/storage/bucket/s3/bucket_client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,6 @@ func newS3Config(cfg Config) (s3.Config, error) {
5959
// Enforce signature version 2 if CLI flag is set
6060
SignatureV2: cfg.SignatureVersion == SignatureVersionV2,
6161
BucketLookupType: bucketLookupType,
62+
AWSSDKAuth: cfg.AccessKeyID == "",
6263
}, nil
6364
}

0 commit comments

Comments
 (0)