This package exposes a React component that you can use to easily and securely import secrets into Doppler.
npm install @dopplerhq/universal-import-react
First, import the DopplerImportButton
component into your project:
import DopplerImportButton from "@dopplerhq/universal-import-react";
Then, render the button, providing the secretName
and secretValue
properties:
<DopplerImportButton secretName="secret_name" secretValue="secret_value" />