@medable/mdctl-credentials-provider-keychain

1.0.72 • Public • Published

mdctl-credentials-provider-keychain

Developer Tools Credential Provider using Keychain for Medable

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

Usage

const KeytarCredentialsProvider = require('@medable/mdctl-credentials-provider-keychain'),
      provider = new KeytarCredentialsProvider('com.medable.mdctl')
      
// 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'
      }) 

Readme

Keywords

none

Package Sidebar

Install

npm i @medable/mdctl-credentials-provider-keychain

Weekly Downloads

1,097

Version

1.0.72

License

MIT

Unpacked Size

4.22 kB

Total Files

4

Last publish

Collaborators

  • harishva
  • myerkes-md
  • cscherer-md
  • __jacobi
  • jamessas
  • trsmith
  • grobledo
  • oferrero.medable