-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LIBCLOUD-606 Can not connect to AWS with IAM role temporary credentials #820
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)