FieryCod / holy-lambda

The extraordinary simple, performant, and extensible custom AWS Lambda runtime for Clojure.
https://fierycod.github.io/holy-lambda
MIT License
340 stars 20 forks source link

feature: support AWS source_profile chaining #92

Closed nikolap closed 1 year ago

nikolap commented 1 year ago

We have a use case where we use Skuld for 2FA with AWS. This results in an AWS profile that looks something like this. We need to go up the source_profile chain to get an AWS access key and secret.

[project-name]
role_arn       = arn:aws:iam::1111111111:role/OrganizationAccountAccessRole
source_profile = root-profile-skuld
region         = eu-central-2

where root-profile-skuld contains a secret and access id.

This PR supports that.

FieryCod commented 1 year ago

Thanks! Merging!