VictoriaMetrics/lib/awsapi
Nikolay 46a335aa1d
lib/awsapi: properly assume role with webIdentity token ()
* 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:07:04 +02:00
..
config_test.go {lib/promscrape,app/vmagent}: adds sigv4 support for vmagent remoteWrite () 2022-05-04 20:28:37 +03:00
config.go lib/awsapi: properly assume role with webIdentity token () 2023-12-20 19:07:04 +02:00
sign_test.go {lib/promscrape,app/vmagent}: adds sigv4 support for vmagent remoteWrite () 2022-05-04 20:28:37 +03:00
sign.go .golangci.yml: properly enable revive linter and fix all the warnings it detects 2023-02-26 12:19:58 -08:00