# @architect/env

> Manage your Architect app's environment variables

Latest version **6.0.1** (published 2025-11-29) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @architect/env
pnpm add @architect/env
yarn add @architect/env
bun add @architect/env
```

Provides the command `arc-env`.

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 6.0.1 |
| Published | 2025-11-29 |
| First published | 2019-06-28 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=22 |
| Dependencies | 6 |
| Unpacked size | 29 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Maintainers | brianleroux, dam, kborchers, ryanblock, architectci, filmaj |

## Links

- npm: https://www.npmjs.com/package/@architect/env
- Repository: https://github.com/architect/env
- Homepage: https://github.com/architect/env#readme
- Issues: https://github.com/architect/env/issues
- npm.io page: https://npm.io/package/@architect/env

## Dependencies (6)

- [dotenv](https://npm.io/package/dotenv.md) ~17.2.3
- [@aws-lite/ssm](https://npm.io/package/@aws-lite/ssm.md) ^0.2.3
- [@architect/utils](https://npm.io/package/@architect/utils.md) ~6.0.1
- [@aws-lite/client](https://npm.io/package/@aws-lite/client.md) ^0.23.2
- [@architect/parser](https://npm.io/package/@architect/parser.md) ~8.0.1
- [@architect/inventory](https://npm.io/package/@architect/inventory.md) ~6.0.0

## Recent versions

- 6.0.1 (latest) — 2025-11-29
- 6.0.0-RC.0 (RC) — 2025-11-25
- 6.0.0 — 2025-11-27
- 5.0.1 — 2025-09-25
- 5.0.0 — 2025-09-24
- 4.0.6-RC.0 — 2025-09-23
- 4.0.5 — 2024-04-30
- 4.0.4 — 2024-04-29
- 4.0.3 — 2024-03-25
- 4.0.2 — 2024-02-08
- 4.0.1 — 2024-02-05
- 4.0.0 — 2024-02-02
- 4.0.0-RC.3 — 2024-02-01
- 4.0.0-RC.2 — 2024-01-31
- 4.0.0-RC.1 — 2024-01-24
- … 53 more at https://npm.io/package/@architect/env/versions

## README

# `@architect/env` [![GitHub CI status](https://github.com/architect/env/workflows/Node%20CI/badge.svg)](https://github.com/architect/env/actions?query=workflow%3A%22Node+CI%22)
<!-- [![codecov](https://codecov.io/gh/architect/env/branch/master/graph/badge.svg)](https://codecov.io/gh/architect/env) -->

[@architect/env][npm] reads and writes environment variables that are made immediately available to all deployed Functions. Use this tool to ensure your team and your application's deployment targets are in sync with sensitive configuration data (such as API keys) that needs to exist outside of your codebase.


# Installation

    npm install @architect/env

# Use of AWS SSM

This modules stores environment variables as [AWS SSM Parameters][param] using
[AWS SSM Parameter Store][paramstore]. [Parameters][param] are created such that:

- Each [Parameter][param]'s `Name` stores environment variables in the format `${appname}/${environment}/${variableName}`.
- Each [Parameter][param]'s `Value` stores the environment variable value.
- Each [Parameter][param]'s `Type` is set to `SecureString`.



[npm]: https://www.npmjs.com/package/@architect/env
[param]: https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_Parameter.html
[paramstore]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html

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