Skip to content
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

v2 authentication broken #63

Open
chatziko opened this issue Mar 31, 2019 · 0 comments
Open

v2 authentication broken #63

chatziko opened this issue Mar 31, 2019 · 0 comments

Comments

@chatziko
Copy link

It seems to me that the removal of the lazy flags by a60f750 is causing has_temp_creds and has_SecurityToken to always return true in _sign_v2:

https://github.com/mrallen1/net-amazon-ec2/blob/ceeb817cc7c3606333cb4e0f7f454856583146fb/lib/Net/Amazon/EC2.pm#L296-L298

causing v2 authentication to fail.

No time to make a full showcase (sorry) but in my code I had to dirty-clean SecurityToken and temp_creds as a workaround.

delete $ec2->{SecurityToken};
delete $ec2->{temp_creds};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant