Skip to content

Commit 544ea35

Browse files
authored
Feat: add session token support for sigv4 (to support the auth service) (#340)
1 parent 211f855 commit 544ea35

File tree

6 files changed

+105
-120
lines changed

6 files changed

+105
-120
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## 1.3.0
6+
- Feat: add session token support for sigv4 (to support the auth service) in [#340](https://github.com/grafana/grafana-aws-sdk/pull/340)
7+
- add error check to stop panic [#325](https://github.com/grafana/grafana-aws-sdk/pull/325)
8+
- Update workflows and templates [#333](https://github.com/grafana/grafana-aws-sdk/pull/333)
9+
- Update dependabot groups [#332](https://github.com/grafana/grafana-aws-sdk/pull/332)
10+
- Dependency updates:
11+
- bump to match go.mod [#326](https://github.com/grafana/grafana-aws-sdk/pull/326)
12+
- Bump the aws-sdk-go-v2 group with 2 updates [#337](https://github.com/grafana/grafana-aws-sdk/pull/337)
13+
- Bump actions/stale from 9 to 10 [#327](https://github.com/grafana/grafana-aws-sdk/pull/327)
14+
- Bump actions/checkout from 4 to 5 [#298](https://github.com/grafana/grafana-aws-sdk/pull/298)
15+
- Bump github.com/aws/aws-sdk-go-v2/config from 1.31.7 to 1.31.8 [#334](https://github.com/grafana/grafana-aws-sdk/pull/334)
16+
- Bump github.com/aws/aws-sdk-go-v2/config from 1.31.6 to 1.31.7 [#329](https://github.com/grafana/grafana-aws-sdk/pull/329)
17+
- Bump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.18.6 to 1.18.7 [#328](https://github.com/grafana/grafana-aws-sdk/pull/328)
18+
- Bump github.com/aws/aws-sdk-go-v2/config from 1.31.5 to 1.31.6 [#324](https://github.com/grafana/grafana-aws-sdk/pull/324)
19+
- Bump github.com/aws/aws-sdk-go-v2/credentials from 1.18.9 to 1.18.10 [#323](https://github.com/grafana/grafana-aws-sdk/pull/323)
20+
- Bump github.com/aws/aws-sdk-go-v2 from 1.38.2 to 1.38.3 [#322](https://github.com/grafana/grafana-aws-sdk/pull/322)
21+
- Bump github.com/stretchr/testify from 1.11.0 to 1.11.1 [#319](https://github.com/grafana/grafana-aws-sdk/pull/319)
22+
- Bump github.com/aws/aws-sdk-go-v2/config from 1.31.2 to 1.31.5 [#321](https://github.com/grafana/grafana-aws-sdk/pull/321)
23+
- Bump github.com/grafana/grafana-plugin-sdk-go from 0.278.0 to 0.279.0 [#313](https://github.com/grafana/grafana-aws-sdk/pull/313)
24+
- Bump github.com/aws/aws-sdk-go-v2/credentials from 1.18.6 to 1.18.8 [#317](https://github.com/grafana/grafana-aws-sdk/pull/317)
25+
526
## 1.2.0
627

728
- Add clusterId dimension to AWS/ElastiCache namespace in [#305](https://github.com/grafana/grafana-aws-sdk/pull/305)

go.mod

Lines changed: 24 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
github.com/aws/aws-sdk-go-v2/service/sts v1.38.5
1111
github.com/aws/smithy-go v1.23.0
1212
github.com/google/go-cmp v0.7.0
13-
github.com/grafana/grafana-plugin-sdk-go v0.279.0
13+
github.com/grafana/grafana-plugin-sdk-go v0.280.0
1414
github.com/grafana/sqlds/v4 v4.2.7
1515
github.com/jpillora/backoff v1.0.0
1616
github.com/magefile/mage v1.15.0
@@ -19,7 +19,7 @@ require (
1919

2020
require (
2121
github.com/BurntSushi/toml v1.5.0 // indirect
22-
github.com/apache/arrow-go/v18 v18.4.0 // indirect
22+
github.com/apache/arrow-go/v18 v18.4.1 // indirect
2323
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.8 // indirect
2424
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.8 // indirect
2525
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect
@@ -28,42 +28,34 @@ require (
2828
github.com/aws/aws-sdk-go-v2/service/sso v1.29.4 // indirect
2929
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.0 // indirect
3030
github.com/beorn7/perks v1.0.1 // indirect
31-
github.com/cenkalti/backoff/v5 v5.0.2 // indirect
31+
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
3232
github.com/cespare/xxhash/v2 v2.3.0 // indirect
3333
github.com/cheekybits/genny v1.0.0 // indirect
34-
github.com/chromedp/cdproto v0.0.0-20250803210736-d308e07a266d // indirect
3534
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
3635
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
37-
github.com/elazarl/goproxy v1.7.2 // indirect
3836
github.com/fatih/color v1.17.0 // indirect
39-
github.com/getkin/kin-openapi v0.132.0 // indirect
4037
github.com/go-logr/logr v1.4.3 // indirect
4138
github.com/go-logr/stdr v1.2.2 // indirect
42-
github.com/go-openapi/jsonpointer v0.21.0 // indirect
43-
github.com/go-openapi/swag v0.23.0 // indirect
4439
github.com/goccy/go-json v0.10.5 // indirect
4540
github.com/gogo/googleapis v1.4.1 // indirect
4641
github.com/gogo/protobuf v1.3.2 // indirect
4742
github.com/golang/protobuf v1.5.4 // indirect
4843
github.com/google/flatbuffers v25.2.10+incompatible // indirect
4944
github.com/google/uuid v1.6.0 // indirect
50-
github.com/gorilla/mux v1.8.1 // indirect
5145
github.com/grafana/dataplane/sdata v0.0.9 // indirect
5246
github.com/grafana/otel-profiling-go v0.5.1 // indirect
53-
github.com/grafana/pyroscope-go/godeltaprof v0.1.8 // indirect
47+
github.com/grafana/pyroscope-go/godeltaprof v0.1.9 // indirect
5448
github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.0 // indirect
5549
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.2 // indirect
56-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.1 // indirect
50+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.2 // indirect
5751
github.com/hashicorp/go-hclog v1.6.3 // indirect
5852
github.com/hashicorp/go-plugin v1.7.0 // indirect
5953
github.com/hashicorp/yamux v0.1.2 // indirect
6054
github.com/jaegertracing/jaeger-idl v0.5.0 // indirect
61-
github.com/josharian/intern v1.0.0 // indirect
6255
github.com/json-iterator/go v1.1.12 // indirect
6356
github.com/jszwedko/go-datemath v0.1.1-0.20230526204004-640a500621d6 // indirect
6457
github.com/klauspost/compress v1.18.0 // indirect
65-
github.com/klauspost/cpuid/v2 v2.2.11 // indirect
66-
github.com/mailru/easyjson v0.7.7 // indirect
58+
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
6759
github.com/mattetti/filebuffer v1.0.1 // indirect
6860
github.com/mattn/go-colorable v0.1.13 // indirect
6961
github.com/mattn/go-isatty v0.0.20 // indirect
@@ -76,18 +68,14 @@ require (
7668
github.com/mithrandie/ternary v1.1.1 // indirect
7769
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
7870
github.com/modern-go/reflect2 v1.0.2 // indirect
79-
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
8071
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
81-
github.com/oasdiff/yaml v0.0.0-20250309154309-f31be36b4037 // indirect
82-
github.com/oasdiff/yaml3 v0.0.0-20250309153720-d2182401db90 // indirect
8372
github.com/oklog/run v1.1.0 // indirect
8473
github.com/olekukonko/tablewriter v0.0.5 // indirect
85-
github.com/perimeterx/marshmallow v1.1.5 // indirect
8674
github.com/pierrec/lz4/v4 v4.1.22 // indirect
8775
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
88-
github.com/prometheus/client_golang v1.23.0 // indirect
76+
github.com/prometheus/client_golang v1.23.2 // indirect
8977
github.com/prometheus/client_model v0.6.2 // indirect
90-
github.com/prometheus/common v0.65.0 // indirect
78+
github.com/prometheus/common v0.66.1 // indirect
9179
github.com/prometheus/procfs v0.16.1 // indirect
9280
github.com/rivo/uniseg v0.4.7 // indirect
9381
github.com/russross/blackfriday/v2 v2.1.0 // indirect
@@ -98,17 +86,18 @@ require (
9886
github.com/urfave/cli v1.22.17 // indirect
9987
github.com/zeebo/xxh3 v1.0.2 // indirect
10088
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
101-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.60.0 // indirect
102-
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.62.0 // indirect
103-
go.opentelemetry.io/contrib/propagators/jaeger v1.37.0 // indirect
104-
go.opentelemetry.io/contrib/samplers/jaegerremote v0.31.0 // indirect
105-
go.opentelemetry.io/otel v1.37.0 // indirect
106-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.37.0 // indirect
107-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.37.0 // indirect
108-
go.opentelemetry.io/otel/metric v1.37.0 // indirect
109-
go.opentelemetry.io/otel/sdk v1.37.0 // indirect
110-
go.opentelemetry.io/otel/trace v1.37.0 // indirect
111-
go.opentelemetry.io/proto/otlp v1.7.0 // indirect
89+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0 // indirect
90+
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.63.0 // indirect
91+
go.opentelemetry.io/contrib/propagators/jaeger v1.38.0 // indirect
92+
go.opentelemetry.io/contrib/samplers/jaegerremote v0.32.0 // indirect
93+
go.opentelemetry.io/otel v1.38.0 // indirect
94+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.38.0 // indirect
95+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.38.0 // indirect
96+
go.opentelemetry.io/otel/metric v1.38.0 // indirect
97+
go.opentelemetry.io/otel/sdk v1.38.0 // indirect
98+
go.opentelemetry.io/otel/trace v1.38.0 // indirect
99+
go.opentelemetry.io/proto/otlp v1.7.1 // indirect
100+
go.yaml.in/yaml/v2 v2.4.2 // indirect
112101
golang.org/x/crypto v0.41.0 // indirect
113102
golang.org/x/exp v0.0.0-20250811191247-51f88131bc50 // indirect
114103
golang.org/x/mod v0.27.0 // indirect
@@ -119,10 +108,10 @@ require (
119108
golang.org/x/text v0.28.0 // indirect
120109
golang.org/x/tools v0.36.0 // indirect
121110
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
122-
google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 // indirect
123-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250811230008-5f3141c8851a // indirect
124-
google.golang.org/grpc v1.74.2 // indirect
125-
google.golang.org/protobuf v1.36.7 // indirect
111+
google.golang.org/genproto/googleapis/api v0.0.0-20250825161204-c5933d9347a5 // indirect
112+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250825161204-c5933d9347a5 // indirect
113+
google.golang.org/grpc v1.75.0 // indirect
114+
google.golang.org/protobuf v1.36.8 // indirect
126115
gopkg.in/fsnotify/fsnotify.v1 v1.4.7 // indirect
127116
gopkg.in/yaml.v3 v3.0.1 // indirect
128117
)

0 commit comments

Comments
 (0)