@smithy/credential-provider-imds
Advanced tools
Comparing version 2.2.4 to 2.2.5
@@ -28,2 +28,3 @@ var __defProp = Object.defineProperty; | ||
ENV_CMDS_RELATIVE_URI: () => ENV_CMDS_RELATIVE_URI, | ||
Endpoint: () => Endpoint, | ||
fromContainerMetadata: () => fromContainerMetadata, | ||
@@ -201,2 +202,9 @@ fromInstanceMetadata: () => fromInstanceMetadata, | ||
// src/config/Endpoint.ts | ||
var Endpoint = /* @__PURE__ */ ((Endpoint2) => { | ||
Endpoint2["IPv4"] = "http://169.254.169.254"; | ||
Endpoint2["IPv6"] = "http://[fd00:ec2::254]"; | ||
return Endpoint2; | ||
})(Endpoint || {}); | ||
// src/config/EndpointConfigOptions.ts | ||
@@ -250,3 +258,4 @@ var ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT"; | ||
logger.warn( | ||
"Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(newExpiration)}.\nFor more information, please visit: " + STATIC_STABILITY_DOC_URL | ||
`Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(newExpiration)}. | ||
For more information, please visit: ` + STATIC_STABILITY_DOC_URL | ||
); | ||
@@ -421,2 +430,3 @@ const originalExpiration = credentials.originalExpiration ?? credentials.expiration; | ||
getInstanceMetadataEndpoint, | ||
Endpoint, | ||
ENV_CMDS_FULL_URI, | ||
@@ -423,0 +433,0 @@ ENV_CMDS_RELATIVE_URI, |
@@ -7,1 +7,2 @@ export * from "./fromContainerMetadata"; | ||
export { getInstanceMetadataEndpoint } from "./utils/getInstanceMetadataEndpoint"; | ||
export { Endpoint } from "./config/Endpoint"; |
@@ -9,3 +9,3 @@ const STATIC_STABILITY_REFRESH_INTERVAL_SECONDS = 5 * 60; | ||
logger.warn("Attempting credential expiration extension due to a credential service availability issue. A refresh of these " + | ||
"credentials will be attempted after ${new Date(newExpiration)}.\nFor more information, please visit: " + | ||
`credentials will be attempted after ${new Date(newExpiration)}.\nFor more information, please visit: ` + | ||
STATIC_STABILITY_DOC_URL); | ||
@@ -12,0 +12,0 @@ const originalExpiration = credentials.originalExpiration ?? credentials.expiration; |
@@ -25,1 +25,5 @@ /** | ||
export { getInstanceMetadataEndpoint } from "./utils/getInstanceMetadataEndpoint"; | ||
/** | ||
* @internal | ||
*/ | ||
export { Endpoint } from "./config/Endpoint"; |
@@ -25,1 +25,5 @@ /** | ||
export { getInstanceMetadataEndpoint } from "./utils/getInstanceMetadataEndpoint"; | ||
/** | ||
* @internal | ||
*/ | ||
export { Endpoint } from "./config/Endpoint"; |
{ | ||
"name": "@smithy/credential-provider-imds", | ||
"version": "2.2.4", | ||
"version": "2.2.5", | ||
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service", | ||
@@ -5,0 +5,0 @@ "main": "./dist-cjs/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62113
1261