grafana / k6-jslib-aws

Javascript Library allowing to interact with AWS resources from k6 scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Load credentials from credentials file?

oleiade opened this issue · comments

A user reported on the forum supports a scenario in which they would not have access to credentials via environment variables. There seemed to be the assumption that k6 would have the same behavior as the AWS CLI on that front, and would alternatively go fetch the credentials from the $HOME/.aws/credentials.

I believe it might turn out tricky to do this in a jslib, but we probably could support reading credentials from a file indeed. To be explored! 🚀 👀