We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug If IMDSv1 is disabled plugin doesn't work
To Reproduce Steps to reproduce the behavior:
aws ec2 describe-instances --instance-ids <instance_id> | jq '.Reservations[0].Instances[0].MetadataOptions.HttpTokens'
Logs yum repolist Loaded plugins: extras_suggestions, langpacks, priorities, s3iam, update-motd Could not access AWS credentials
Expected behavior S3 repos to work
Additional context Looking at the code I can't see any support for tokens, it just seems to use imdsv1:
def get_role(self): """Read IAM role from AWS metadata store.""" request = urllib2.Request( urlparse.urljoin( "http://169.254.169.254", "/latest/meta-data/iam/security-credentials/" ))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
If IMDSv1 is disabled plugin doesn't work
To Reproduce
Steps to reproduce the behavior:
aws ec2 describe-instances --instance-ids <instance_id> | jq '.Reservations[0].Instances[0].MetadataOptions.HttpTokens'
Logs
yum repolist
Loaded plugins: extras_suggestions, langpacks, priorities, s3iam, update-motd
Could not access AWS credentials
Expected behavior
S3 repos to work
Additional context
Looking at the code I can't see any support for tokens, it just seems to use imdsv1:
The text was updated successfully, but these errors were encountered: