@medable/mdctl-secrets

1.0.72 • Public • Published

mdctl-secrets

Developer Tools Secrets Module for Medable

This module exposes the different kind of secrets you can use as credentials

Note: All secrets needs an environment definition.

  • Password Secret
    • It uses username, password and apiKey
  • Signature Secret
    • It uses secret and apiKey
  • Token Secret
    • It uses a JWT token

Usage

  new PasswordSecret(environment, {username: 'test', password: 'test', apiKey: 'myawesomeapikey'})
  
  new SignatureSecret(environment, {signature: 'myawesomesignature', apiKey: 'myawesomeapikey'})
  
  new TokenSecret(environment, {token: 'jwttokendata'})
  

/@medable/mdctl-secrets/

    Package Sidebar

    Install

    npm i @medable/mdctl-secrets

    Weekly Downloads

    3,216

    Version

    1.0.72

    License

    MIT

    Unpacked Size

    11 kB

    Total Files

    9

    Last publish

    Collaborators

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