LIBCLOUD-606 Can not connect to AWS with IAM role temporary credentials#820
LIBCLOUD-606 Can not connect to AWS with IAM role temporary credentials#820alejandrogr wants to merge 5 commits intoapache:trunkfrom
Conversation
|
hi @alejandrogr thanks for the contribution, if you look at the test runs, every class that derived from this connection class (and didn't create a property could you please add a supporting test for this scenario as well, the docs say that this is supported, so is this a bugfix or a new behaviour? http://libcloud.readthedocs.io/en/latest/compute/drivers/ec2.html#using-temporary-security-credentials |
|
Good catch - thanks! And yeah, what Anthony said wrt tests :) |
|
@alejandrogr can you run |
|
Hi, I've just checked the linting problems and solved them. I'm pretty new to python and libcloud so please let me know if something can be improved. Should other derived drivers from BaseEC2NodeDriver supports the temporary token too? Cheers |
Closes #820 Signed-off-by: Tomaz Muraus <tomaz@tomaz.me>
Closes #820 Signed-off-by: Tomaz Muraus <tomaz@tomaz.me>
Closes #820 Signed-off-by: Tomaz Muraus <tomaz@tomaz.me>
Closes #820 Signed-off-by: Tomaz Muraus <tomaz@tomaz.me>
|
Merged into trunk, thanks. For now, I think it's the best to only support token in the EC2 driver since I believe it's EC2-specific functionality. |
Connect to AWS using temporary IAM role credentials
Description
Can not connect to AWS with IAM role temporary credentials. Doesn't seem like the supplied token is in the header
From: LIBCLOUD-606
Status
done, ready for review
Checklist (tick everything that applies)