VictoriaMetrics/lib/awsapi
Nikolay 08ba65a728
lib/awsapi: properly assume role with webIdentity token (#5495)
* lib/awsapi: properly assume role with webIdentity token
introduce new irsaRoleArn param for config. It's only needed for authorization with webIdentity token.
First credentials obtained with irsa role and the next sts assume call for an actual roleArn made with those credentials.
Common use case for it - cross AWS accounts authorization
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3822

* wip

---------

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-12-20 19:12:44 +02:00
..
config.go lib/awsapi: properly assume role with webIdentity token (#5495) 2023-12-20 19:12:44 +02:00
config_test.go {lib/promscrape,app/vmagent}: adds sigv4 support for vmagent remoteWrite (#2458) 2022-05-04 20:24:19 +03:00
sign.go .golangci.yml: properly enable revive linter and fix all the warnings it detects 2023-02-26 12:18:59 -08:00
sign_test.go {lib/promscrape,app/vmagent}: adds sigv4 support for vmagent remoteWrite (#2458) 2022-05-04 20:24:19 +03:00