SigV4: Add support EC2 IAM role auth and possibility to toggle auth providers (#32444)

* wip: consume aws-sdk config in auth http settings

* fix typings

* use sdk regions

* use latest version of grafana/aws-sdk

* use newest sdk

* add comment

* bump sdk

* fix yarn lock file

* fix storybook issue

* upgrade aws-sdk. also use it in grafana ui

* remove not used config

* add aws-sdk as an external dep for grafana in the grafana ui rollup

Co-authored-by: Will Browne <will.browne@grafana.com>
This commit is contained in:
Erik Sundell
2021-03-30 12:30:34 +02:00
committed by GitHub
parent cfc7537632
commit f0d6f132ae
7 changed files with 77 additions and 364 deletions

2
go.mod
View File

@@ -41,7 +41,7 @@ require (
github.com/google/uuid v1.2.0
github.com/gosimple/slug v1.9.0
github.com/grafana/alerting-api v0.0.0-20210323194814-03a29a4c4c27
github.com/grafana/grafana-aws-sdk v0.2.0
github.com/grafana/grafana-aws-sdk v0.3.0
github.com/grafana/grafana-plugin-model v0.0.0-20190930120109-1fc953a61fb4
github.com/grafana/grafana-plugin-sdk-go v0.89.0
github.com/grafana/loki v1.6.2-0.20201026154740-6978ee5d7387