@smithy/credential-provider-imds 4.3.0 → 4.3.1

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.
@@ -1,9 +1,9 @@
1
1
  import { CredentialsProviderError } from "@smithy/core/config";
2
2
  /**
3
- * @public
4
- *
5
3
  * A specific sub-case of CredentialsProviderError, when the IMDSv1 fallback
6
4
  * has been attempted but shut off by SDK configuration.
5
+ *
6
+ * @public
7
7
  */
8
8
  export declare class InstanceMetadataV1FallbackError extends CredentialsProviderError {
9
9
  readonly tryNextLink: boolean;
@@ -13,9 +13,9 @@ export declare const ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE
13
13
  */
14
14
  export declare const ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN";
15
15
  /**
16
- * @internal
17
- *
18
16
  * Creates a credential provider that will source credentials from the ECS
19
17
  * Container Metadata Service
18
+ *
19
+ * @internal
20
20
  */
21
21
  export declare const fromContainerMetadata: (init?: RemoteProviderInit) => AwsCredentialIdentityProvider;
@@ -2,9 +2,9 @@ import type { Provider } from "@smithy/types";
2
2
  import { type RemoteProviderInit } from "./remoteProvider/RemoteProviderInit";
3
3
  import type { InstanceMetadataCredentials } from "./types";
4
4
  /**
5
- * @internal
6
- *
7
5
  * Creates a credential provider that will source credentials from the EC2
8
6
  * Instance Metadata Service
7
+ *
8
+ * @internal
9
9
  */
10
10
  export declare const fromInstanceMetadata: (init?: RemoteProviderInit) => Provider<InstanceMetadataCredentials>;
@@ -1,13 +1,12 @@
1
1
  import type { Logger, Provider } from "@smithy/types";
2
2
  import type { InstanceMetadataCredentials } from "../types";
3
3
  /**
4
- * @internal
5
- *
6
4
  * IMDS credential supports static stability feature. When used, the expiration
7
5
  * of recently issued credentials is extended. The server side allows using
8
6
  * the recently expired credentials. This mitigates impact when clients using
9
7
  * refreshable credentials are unable to retrieve updates.
10
8
  *
9
+ * @internal
11
10
  * @param provider Credential provider
12
11
  * @returns A credential provider that supports static stability
13
12
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/credential-provider-imds",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
4
4
  "description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,7 +27,7 @@
27
27
  "license": "Apache-2.0",
28
28
  "sideEffects": false,
29
29
  "dependencies": {
30
- "@smithy/core": "^3.24.0",
30
+ "@smithy/core": "^3.24.1",
31
31
  "@smithy/types": "^4.14.1",
32
32
  "tslib": "^2.6.2"
33
33
  },