athenadriver icon indicating copy to clipboard operation
athenadriver copied to clipboard

Need to support multi type credentials such as STS credentials

Open LindaSummer opened this issue 5 years ago • 0 comments

Reason

I found it becomes a little hard to connect from one eks cluster to another account's athena through STS role assumption. Static credentials may become expired after a priod.

Advise

I think it's better to give a closure in driver configuration like 'func() *session.Session' and call it before use ACCESS_KEY and SECRET to get session. This can support all aws sdk's credential types.

LindaSummer avatar Dec 04 '20 09:12 LindaSummer