Coder Social home page Coder Social logo

dopplerhq / universal-import Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 6.0 442 KB

Doppler's Universal Import button

License: Apache License 2.0

JavaScript 3.65% HTML 0.72% TypeScript 90.29% Shell 2.87% Dockerfile 2.48%
secrets secrets-management secrets-manager secret-management

universal-import's Introduction

Built & Published npm version npm downloads

Universal Import

Use Universal Import to push secrets directly to engineering services and production infrastructure with the click of a button.

Interested in becoming a Universal Import partner? Visit the Universal Import Hub for more information and to follow the download and installation steps. There you will also find additional information on how it works for the end user alongside FAQs.

@dopplerhq/universal-import

This monorepo holds all Doppler Universal Import packages. Users will generally not want to consume this directly - instead, you should install one of the following child packages:

Core

npm bundle size

React

npm bundle size

Development scripts

These scripts are used for the development of the Doppler Universal Import button components.

NPM Script Description
npm run dev Runs all builds in watch mode for interactive development
npm run clean Removes all build artifacts
npm run build Generates production builds for all workspaces
npm run build:github-action Generates production builds for all workspaces (only for github actions)

Required environment variables

This project leverages the Doppler CLI to inject the following environment variables:

  • DOPPLER_DASHBOARD_URL must be set as an environment variable for the core package.
  • UNIVERSAL_IMPORT_KEYS_URL must be set for post compilation replacement of static values in the core package.

universal-import's People

Contributors

apazzolini avatar bvallelunga avatar kunamatata avatar piccirello avatar rgharris avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

universal-import's Issues

Unable to decrypt universal import payload

We're using @dopplerhq/universal-import-core to build an integration with an internal admin tool to push secrets over to Doppler.

Locally, the connection works fine - trigger successfully renders the Doppler import screen.

In production, the connection renders "Unable to decrypt universal import payload". An example request ID for debugging purposes: 48aed283-6bd5-4956-ac3e-5de84d6a03b8

In both cases, we can see a fetch request being made to https://keys.doppler.com/universal-import/latest.json?cpv=1.0.0 which, in both cases, returns:

{
    "keyId": "dea124b0-a69f-464a-870b-317f9ccaf65b",
    "publicKey": "4x+ohnrLt42vE3lIq2y6Nozs/KI9lAYkREhb56grxhg="
}

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.