robotframework-aws icon indicating copy to clipboard operation
robotframework-aws copied to clipboard

Extend session configuration

Open EgorOs opened this issue 5 years ago • 4 comments

I was using this library and ran into an issue when I needed to pass aws_session_token in addition to aws_access_key and aws_secret_key. Maybe it would be a good idea to add all possible boto3 session parameters to 'Create Session With Keys' keyword?

EgorOs avatar Dec 25 '19 09:12 EgorOs

i agree. I think something else that needs to be looked into as well is the possibility to pull credentials from ~/.aws/credentials or config....

For now, all possible parameters will be added.

teaglebuilt avatar Dec 26 '19 15:12 teaglebuilt

Thank you, In our case we create session with aws access key, secret key and session token, which are passed into jenkins job as environmental variables via credentials plugin. So it is a kind of a case, when a bit more flexibility is required.

Also I could take this issue

EgorOs avatar Dec 26 '19 15:12 EgorOs

Is this issue still open? @teaglebuilt : EgorOs was offering to submit PR - ok with you?

adrianyorke avatar Apr 08 '20 09:04 adrianyorke

@teaglebuilt : how about this one? @EgorOs ws offering to take this issue or did you have it in progress already? Perhaps we should agree which version of boto3 we are aligning with although I don't think the session parameters change so often.

adrianyorke avatar Jun 24 '20 17:06 adrianyorke

Hi,

we have a use case where we run Robot in an ECS Task as part of the deployment of our services to an ECS Cluster. This would use role-based authentication to access AWS services. In other words, this doesn't require access keys. So I would really like to have Get Session With Role Keyword.

Much appreciated, Kevin

mrkmcnamee avatar Jun 13 '24 11:06 mrkmcnamee