@medable/mdctl-credentials-provider-pouchdb
Medable Developer Client Tools :: PouchDB Creds Provider
Last updated 2 months ago by jamessas .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @medable/mdctl-credentials-provider-pouchdb 
SYNC missed versions from official npm registry.

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'
      }) 

Current Tags

  • 1.0.54                                ...           latest (2 months ago)

45 Versions

  • 1.0.54                                ...           2 months ago
  • 1.0.53                                ...           2 months ago
  • 1.0.52                                ...           2 months ago
  • 1.0.51                                ...           3 months ago
  • 1.0.50                                ...           3 months ago
  • 1.0.49                                ...           3 months ago
  • 1.0.48                                ...           3 months ago
  • 1.0.47                                ...           3 months ago
  • 1.0.46                                ...           4 months ago
  • 1.0.45                                ...           4 months ago
  • 1.0.44                                ...           4 months ago
  • 1.0.43                                ...           5 months ago
  • 1.0.42                                ...           5 months ago
  • 1.0.41                                ...           5 months ago
  • 1.0.40                                ...           5 months ago
  • 1.0.39                                ...           5 months ago
  • 1.0.38                                ...           6 months ago
  • 1.0.37                                ...           6 months ago
  • 1.0.36                                ...           6 months ago
  • 1.0.35                                ...           6 months ago
  • 1.0.34                                ...           7 months ago
  • 1.0.33                                ...           7 months ago
  • 1.0.32                                ...           7 months ago
  • 1.0.31                                ...           8 months ago
  • 1.0.30                                ...           8 months ago
  • 1.0.29                                ...           8 months ago
  • 1.0.28                                ...           8 months ago
  • 1.0.27                                ...           8 months ago
  • 1.0.24                                ...           9 months ago
  • 1.0.23                                ...           9 months ago
  • 1.0.22                                ...           10 months ago
  • 1.0.21                                ...           10 months ago
  • 1.0.20                                ...           a year ago
  • 1.0.19                                ...           a year ago
  • 1.0.18                                ...           a year ago
  • 1.0.17                                ...           a year ago
  • 1.0.16                                ...           a year ago
  • 1.0.15                                ...           a year ago
  • 1.0.13                                ...           a year ago
  • 1.0.12                                ...           a year ago
  • 1.0.10                                ...           a year ago
  • 1.0.9                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 26
Dependencies (10)
Dev Dependencies (11)

Copyright 2014 - 2016 © taobao.org |