Doppler v0.9.0 published on Tuesday, Aug 27, 2024 by Pulumiverse
Doppler: Installation & Configuration
Installation
- To use this package, please install the Pulumi CLI first.
- This package is only available for JavaScript and TypeScript but support for other languages will be available soon.
Node.js (JavaScript/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either npm or yarn:
$ npm install @pulumiverse/doppler
$ yarn add @pulumiverse/doppler
Python
$ pip install pulumiverse_doppler
Go & .NET
TBA
Authentication
The Pulumi Doppler Provider needs to be configured with a Doppler API Key and Account ID before it can be used to create resources.
If you don’t have an
API Key, you can create one in the Doppler Service.
Once you generated the API Key there are two ways to communicate your authorization tokens to Pulumi:
Set the environment variables
DOPPLER_API_KEYandDOPPLER_ACCOUNT_ID:$ export DOPPLER_API_KEY=cu_xxx $ export DOPPLER_ACCOUNT_ID=xxxSet them using
pulumi configcommand, if you prefer that they be stored alongside your Pulumi stack for easy multi-user access:$ pulumi config set doppler:apiKey cu_xxx --secret $ pulumi config set doppler:accountId xxx
Remember to pass
--secretwhen settingdoppler:apiKeyso it is properly encrypted.
