MarketSquare / robotframework-aws

Custom Library for Robot Framework to interact with Amazon Cloud Services
MIT License
23 stars 18 forks source link

Extend session configuration #21

Closed EgorOs closed 1 month ago

EgorOs commented 4 years ago

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?

teaglebuilt commented 4 years ago

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.

EgorOs commented 4 years ago

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

adrianyorke commented 4 years ago

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

adrianyorke commented 4 years ago

@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.

mrkmcnamee commented 1 month ago

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