Skip to content

scener-inc/doppler-sync

Repository files navigation

CLI and node tool for synchronously loading Doppler config secrets

Set up Doppler Secret Manager

Getting started with doppler

Generate a service token

Getting started - Typescript / Javascript

Add doppler-sync to your project

$ npm install doppler-sync
#or
$ yarn add doppler-sync

Getting started

Globally install doppler-sync

$ npm install doppler-sync -g
#or
$ yarn global add doppler-sync

Load Doppler secret values using DOPPLER_TOKEN in environment variables

$ doppler-sync

Load Doppler config secret values using DOPPLER_TOKEN in javascript

import { getConfig } from "doppler-sync";
let config = getConfig({
    token?: string,
    prefix?: string
})

CLI arguments

  • npx doppler-sync --help - Get possible arguments
  • npx doppler-sync --token <DOPPLER_TOKEN> - get all parameters with specified access token
  • npx doppler-sync --prefix <PREFIX> - only return secrets that start with prefix

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published