Socket
Book a DemoInstallSign in
Socket

@dmno/1password-plugin

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dmno/1password-plugin

dmno plugin to pull secrets from 1password

0.0.13
latest
Source
npmnpm
Version published
Weekly downloads
10
-64.29%
Maintainers
0
Weekly downloads
 
Created
Source

Check out the docs for more information on how to use DMNO with 1Password.

If you have any questions, please reach out to us on Discord.

@dmno/1password-plugin npm

Securely use your secrets and data from 1password within DMNO Config Engine.

Plugin

Installation

npm add @dmno/1password-plugin

Example Usage

import { OnePasswordDmnoPlugin, OnePasswordTypes } from '@dmno/1password-plugin';

// token will be injected using types by default
const onePassSecrets = new OnePasswordDmnoPlugin('1pass');

// or you can wire up the path explicitly
const onePassSecrets2 = new OnePasswordDmnoPlugin('1passWithExplicitPath', {
  token: configPath('..', 'OP_TOKEN'),
});

export default defineDmnoService({
  schema: {
    OP_TOKEN: {
      extends: OnePasswordTypes.serviceAccountToken,
      // NOTE - the type itself is already marked as sensitive 🔐
    },
  },
});

Value Resolvers

Fetch from .env blob

onePassVault.item()

Fetch item using unique IDs

onePassVault.itemById(vaultId, itemId, fieldId)

onePassVault.itemByLink(itemLink, fieldId)

Fetch item using secret reference URI

onePassVault.itemByReference(itemReferenceUri)

Data Types

  • OnePasswordTypes.serviceAccountToken
  • OnePasswordTypes.uuid
  • OnePasswordTypes.vaultId
  • OnePasswordTypes.itemId
  • OnePasswordTypes.secretReferenceUri
  • OnePasswordTypes.itemLink

Keywords

dmno

FAQs

Package last updated on 03 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.