grafana / grafana-aws-sdk-react

Apache License 2.0
3 stars 1 forks source link

Only show grafana assume role on enabled datasources #58

Closed sarahzinger closed 1 year ago

sarahzinger commented 1 year ago

This pr will hide the temporary credentials ui unless the datasource is on a list of approved datasources.

We had originally considered enabling temp credentials on all datasources at once, but for a smoother rollout it would be better if we did this gradually. Each datasource also currently needs to configure a way to access externalId through a resource endpoint (maybe in the future we could figure out a way to centralize this in one place, but for now this is per-datasource), so it would be better if we hide the UI until we have fully tested and ensured each datasource will work with temp credentials.

Fixes https://github.com/grafana/oss-plugin-partnerships/issues/223