# @purista/azure-secret-store

> State store adapter for Azure Key Vault

Latest version **3.2.4** (published 2026-08-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install @purista/azure-secret-store
pnpm add @purista/azure-secret-store
yarn add @purista/azure-secret-store
bun add @purista/azure-secret-store
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.2.4 |
| Published | 2026-08-11 |
| First published | 2024-02-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=24.15.0 |
| Dependencies | 3 |
| Unpacked size | 11 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 85 |
| Author | Sebastian Wessel |
| Maintainers | sebastianwessel |

## Links

- npm: https://www.npmjs.com/package/@purista/azure-secret-store
- Repository: https://github.com/puristajs/purista
- Homepage: https://purista.dev
- Issues: https://github.com/puristajs/purista/issues
- npm.io page: https://npm.io/package/@purista/azure-secret-store

## Dependencies (3)

- [@purista/core](https://npm.io/package/@purista/core.md) *
- [@azure/identity](https://npm.io/package/@azure/identity.md) ^4.13.1
- [@azure/keyvault-secrets](https://npm.io/package/@azure/keyvault-secrets.md) ^4.11.2

## Recent versions

- 3.2.4 (latest) — 2026-08-11
- 3.2.3 — 2026-07-20
- 3.2.2 — 2026-07-07
- 3.2.1 — 2026-07-07
- 3.2.0 — 2026-06-05
- 3.1.0 — 2026-06-03
- 3.0.1 — 2026-05-26
- 3.0.0 — 2026-05-18
- 2.2.0 — 2026-02-13
- 2.1.5 — 2025-04-30
- 2.1.4 — 2025-03-31
- 2.1.3 — 2025-03-31
- 2.1.2 — 2025-03-31
- 2.1.1 — 2025-03-31
- 2.1.0 — 2025-03-04
- … 16 more at https://npm.io/package/@purista/azure-secret-store/versions

## README

# @purista/azure-secret-store

A secret store for using [Azure Key Vault](https://azure.microsoft.com/products/key-vault/) as storage.  

```typescript
const config = {
  vaultUrl: 'https://[KEY_VAULT_NAME].vault.azure.net'
}

const store = new AzureSecretStore(config)

await store.setSecret('mySecret', 'value')

let value = await store.getSecret('mySecret')
console.log(value) // outputs: { mySecret: 'value' }

await store.removeSecret('mySecret')

value = await store.getSecret('mySecret')
console.log(value) // outputs: undefined

```

**Visit [purista.dev](https://purista.dev)**

**Follow on Twitter [@purista_js](https://twitter.com/purista_js)**  
**Join the [Discord Chat](https://discord.gg/9feaUm3H2v)**

<a href="https://www.producthunt.com/posts/purista?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-purista" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=386519&theme=light" alt="PURISTA - Typescript&#0032;framework&#0032;for&#0032;IoT&#0044;&#0032;microservices&#0044;&#0032;and&#0032;serverless | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>

---
_Source: https://npm.io/package/@purista/azure-secret-store · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
