-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[CN-714] Add support of IMDSv2 for AWS Discovery plugin #23545
[CN-714] Add support of IMDSv2 for AWS Discovery plugin #23545
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if the IMDSv2 endpoint is not reachable in the user's environment? Do we continue to support IMDSv1?
Yes. IMDSv1 is a legacy mode that can be disabled. IMDSv2 is always enabled. Good explanation:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#http_tokens |
Then why we are keeping IMDSv1-related code? |
Not sure I understand. IMDSv2 is a superset of IMDSv1. Could you point me to code you were refering? |
I guess it's just a misunderstanding of what the |
I see, thanks for the explanation guys 👍 🙂 |
…lcast#23545) Before making requests to metadata service we now try to get token using `/latest/api/token` endpoint. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html Backport: hazelcast#23545
…lcast#23545) Before making requests to metadata service we now try to get token using `/latest/api/token` endpoint. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html Backport: hazelcast#23545
Before making requests to metadata service we now try to get token using `/latest/api/token` endpoint. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html Backport: #23545 Checklist: - [x] Labels (`Team:`, `Type:`, `Source:`, `Module:`) and Milestone set - [x] Label `Add to Release Notes` or `Not Release Notes content` set - [x] Request reviewers if possible - [ ] Send backports/forwardports if fix needs to be applied to past/future releases - [ ] New public APIs have `@Nonnull/@Nullable` annotations - [ ] New public APIs have `@since` tags in Javadoc
) Before making requests to metadata service we now try to get token using `/latest/api/token` endpoint. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html Checklist: - [x] Labels (`Team:`, `Type:`, `Source:`, `Module:`) and Milestone set - [x] Label `Add to Release Notes` or `Not Release Notes content` set - [x] Request reviewers if possible - [ ] Send backports/forwardports if fix needs to be applied to past/future releases - [ ] New public APIs have `@Nonnull/@Nullable` annotations - [ ] New public APIs have `@since` tags in Javadoc
) Before making requests to metadata service we now try to get token using `/latest/api/token` endpoint. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html
) Before making requests to metadata service we now try to get token using `/latest/api/token` endpoint. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html Backport: #23545 Checklist: - [x] Labels (`Team:`, `Type:`, `Source:`, `Module:`) and Milestone set - [x] Label `Add to Release Notes` or `Not Release Notes content` set - [x] Request reviewers if possible - [x] Send backports/forwardports if fix needs to be applied to past/future releases
) Before making requests to metadata service we now try to get token using `/latest/api/token` endpoint. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html Backport: #23545 Checklist: - [x] Labels (`Team:`, `Type:`, `Source:`, `Module:`) and Milestone set - [x] Label `Add to Release Notes` or `Not Release Notes content` set - [x] Request reviewers if possible - [x] Send backports/forwardports if fix needs to be applied to past/future releases
Hi all, Are you going to provide [1] https://docs.hazelcast.com/imdg/4.2/ |
Before making requests to metadata service we now try to get token using
/latest/api/token
endpoint.https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html
Checklist:
Team:
,Type:
,Source:
,Module:
) and Milestone setAdd to Release Notes
orNot Release Notes content
set@Nonnull/@Nullable
annotations@since
tags in Javadoc