@aws-sdk/ec2-metadata-service 3.540.0 → 3.550.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -34,3 +34,5 @@ const metadata = await metadataService.request("/latest/meta-data/", {}); // req
34
34
  Note that by default, requests to IMDS are in accordance with [IMDSv2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html).
35
35
 
36
36
  Read more about Instance Metadata here: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
37
+
38
+ The @aws-sdk/ec2-metadata-service package is a standalone utility and not part of the default credential provider chain. If you want to use IMDS for credentials, you can use the [fromInstanceMetadata()](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-credential-providers/Variable/fromInstanceMetadata/) method.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/ec2-metadata-service",
3
- "version": "3.540.0",
3
+ "version": "3.550.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline ec2-metadata-service",
@@ -30,7 +30,7 @@
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
33
- "@aws-sdk/credential-providers": "3.540.0",
33
+ "@aws-sdk/credential-providers": "3.549.0",
34
34
  "@tsconfig/recommended": "1.0.1",
35
35
  "@types/node": "^14.14.31",
36
36
  "concurrently": "7.0.0",