# @smithy/credential-provider-imds

> AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service

Latest version **4.5.2** (published 2026-08-15) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @smithy/credential-provider-imds
pnpm add @smithy/credential-provider-imds
yarn add @smithy/credential-provider-imds
bun add @smithy/credential-provider-imds
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.5.2 |
| Published | 2026-08-15 |
| First published | 2023-06-19 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.0.0 |
| Dependencies | 3 |
| Unpacked size | 78.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Author | AWS SDK for JavaScript Team |
| Maintainers | smithy-team, aws-sdk-bot |
| Keywords | aws, credentials |

## Links

- npm: https://www.npmjs.com/package/@smithy/credential-provider-imds
- Repository: https://github.com/smithy-lang/smithy-typescript
- Homepage: https://github.com/smithy-lang/smithy-typescript/tree/main/packages/credential-provider-imds
- npm.io page: https://npm.io/package/@smithy/credential-provider-imds

## Dependencies (3)

- [tslib](https://npm.io/package/tslib.md) ^2.6.2
- [@smithy/core](https://npm.io/package/@smithy/core.md) ^3.33.2
- [@smithy/types](https://npm.io/package/@smithy/types.md) ^4.17.2

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 4.5.2 (latest) — 2026-08-15
- 4.5.1 — 2026-08-15
- 4.5.0 — 2026-08-11
- 4.4.16 — 2026-07-29
- 4.4.15 — 2026-07-27
- 4.4.14 — 2026-07-24
- 4.4.13 — 2026-07-23
- 4.4.12 — 2026-07-21
- 4.4.11 — 2026-07-20
- 4.4.10 — 2026-07-16
- 4.4.9 — 2026-07-14
- 4.4.8 — 2026-07-10
- 4.4.7 — 2026-07-08
- 4.4.6 — 2026-07-02
- 4.4.5 — 2026-07-01
- … 94 more at https://npm.io/package/@smithy/credential-provider-imds/versions

## README

# @smithy/credential-provider-imds

[![NPM version](https://img.shields.io/npm/v/@smithy/credential-provider-imds/latest.svg)](https://www.npmjs.com/package/@smithy/credential-provider-imds)
[![NPM downloads](https://img.shields.io/npm/dm/@smithy/credential-provider-imds.svg)](https://www.npmjs.com/package/@smithy/credential-provider-imds)

### :warning: Internal API :warning:

> This is an internal package.
> That means this is used as a dependency for other, public packages, but
> should not be taken directly as a dependency in your application's `package.json`.

> If you are updating the version of this package, for example to bring in a
> bug-fix, you should do so by updating your application lockfile with
> e.g. `npm up @scope/package` or equivalent command in another
> package manager, rather than taking a direct dependency.

---

Please use [@smithy/credential-providers](https://www.npmjs.com/package/@smithy/credential-providers)
instead.

---
_Source: https://npm.io/package/@smithy/credential-provider-imds · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
