You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deps/rabbitmq_aws/README.md
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,16 @@ The credentials values have the following precedence:
34
34
- Environment variables
35
35
- Credentials file
36
36
- EC2 Instance Metadata Service
37
-
37
+
38
+
### EC2 Instance Metadata Service Versions
39
+
40
+
There are two versions of the EC2 Instance Metadata Service that are available by default on EC2 instances; IMDSv1 and IMDSv2 which is protected by session authencation
41
+
and [adds defenses against aditional vulnerabilities](https://aws.amazon.com/blogs/security/defense-in-depth-open-firewalls-reverse-proxies-ssrf-vulnerabilities-ec2-instance-metadata-service/).
42
+
AWS recommends adopting IMDSv2 and disabling IMDSv1 [by configuring the Instance Metadata Service on the EC2 instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html).
43
+
44
+
By default *rabbitmq-aws* will attempt to use IMDSv2 first and will fallback to use IMDSv1 if calls to IMDSv2 fail. This behavior can be overridden
45
+
by setting the ``aws_prefer_imdsv2`` setting to ``false``.
46
+
38
47
### Environment Variables
39
48
40
49
As with the AWS CLI, the following environment variables can be used to provide
@@ -67,7 +76,7 @@ configuration or to impact configuration behavior:
67
76
## Example Usage
68
77
69
78
The following example assumes that you either have locally configured credentials or that
70
-
you're using the AWS Instance Metadata service for credentials:
79
+
you're using the EC2 Instance Metadata Service for credentials:
0 commit comments