You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@medable/mdctl-credentials-provider-pouchdb

Package Overview
Dependencies
10
Maintainers
8
Versions
83
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medable/mdctl-credentials-provider-pouchdb

Medable Developer Client Tools :: PouchDB Creds Provider


Version published
Maintainers
8
Created

Readme

Source

mdctl-credentials-provider-pouchdb

Developer Tools Credential Provider using PouchDB for Medable

This module will let you store your credentials into PouchDB storage.

Usage

const PouchDbCredentialsProvider = require('@medable/mdctl-credentials-provider-pouchdb'),
      provider = new PouchDbCredentialsProvider({
        name: path.join(os.homedir(), '.medable/mdctl.db'),
        key: 'whatEv3rY0uW4nt@here'
      })
      
// clear credentials.      
await provider.clear()

// add a new credential 
await provider.add('env', {
        apiKey: 'abcdefghijklmnopqrstuv',
        username: 'test@medable.com',
        password: 'password'
      })  

// get the list of credentials that matches with these filters.
await provider.list('env', {
        type: 'password',
        username: 'test@medable.com'
      }) 

FAQs

Package last updated on 29 Feb 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc