@1password/pulumi-onepassword

中文文档
1.2.1发布于 2026/10/23Apache-2.0TypeScript构建来源已验证近 30 天下载 4.3万

Use the 1Password Pulumi provider to access and manage items in your 1Password vaults.

原始使用文档
文档目录6 节
  1. Installing
  2. Node.js (JavaScript/TypeScript)
  3. Python
  4. Go
  5. Configuration
  6. Reference

1Password Pulumi provider

Use the 1Password Pulumi provider to access and manage items in your 1Password vaults.

This project is licensed under Apache-2.0. Use of the 1Password APIs and services accessed through these tools is governed by the 1Password API Terms of Service.

Installing

This package is available for several languages/platforms:

Node.js (JavaScript/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

npm install @1password/pulumi-onepassword

or yarn:

yarn add @1password/pulumi-onepassword

Python

To use from Python, install using pip:

pip install pulumi_onepassword

Go

To use from Go, use go get to grab the latest version of the library:

go get github.com/1Password/pulumi-onepassword/sdk/go/...

Configuration

The following configuration points are available for the 1Password provider:

  • onepassword:url (environment: OP_CONNECT_HOST) - the URL where your 1Password Connect API can be found
  • onepassword:token (environment: OP_CONNECT_TOKEN) - the token for your Connect API.
  • onepassword:serviceAccountToken (environment: OP_SERVICE_ACCOUNT_TOKEN) - The 1Password service account token to use with 1Password CLI.
  • onepassword:account (environment: OP_ACCOUNT) - A valid account's sign-in address or ID to use with 1Password CLI and biometric unlock.
  • onepassword:opCliPath (environment: OP_CLI_PATH) - The path to the 1Password CLI binary.

Reference

For detailed reference documentation, please visit the Pulumi registry.

版本与发布记录

@1password/pulumi-onepassword 共发布 7 个版本,首次发布于 2024/05/16;过去 12 个月发布了 1 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.2.1latest2026/10/2315 天前
1.1.32024/09/022 年前
1.1.22024/08/292 年前
1.1.12024/08/282 年前
1.1.02024/08/272 年前
1.0.22024/06/062 年前

关于 @1password/pulumi-onepassword 的常见问题

@1password/pulumi-onepassword 是什么?

Use the 1Password Pulumi provider to access and manage items in your 1Password vaults.

如何安装 @1password/pulumi-onepassword?

在项目目录运行 npm install @1password/pulumi-onepassword,或使用 pnpm add / yarn add / bun add。

@1password/pulumi-onepassword 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@1password/pulumi-onepassword 可以商用吗?

@1password/pulumi-onepassword 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@1password/pulumi-onepassword 的下载量有多少?

根据 npm 官方下载统计,@1password/pulumi-onepassword 在 2026/10/05 – 2026/11/03 这 30 天内被下载 42,639 次,日均约 1,421 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@1password/pulumi-onepassword 还在维护吗?

最新版本 1.2.1 发布于 2026/10/23(15 天前);至今共发布 7 个版本,其中过去 12 个月发布了 1 个;首次发布于 2024/05/16。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。