camunda-8-credentials-from-env

Reliably hydrate Camunda 8 Client credentials from the environment


Keywords
camunda-8
License
Apache-2.0
Install
npm install camunda-8-credentials-from-env@1.1.0

Documentation

Camunda 8 Client Credentials from the Environment for Node.js

NPM

Community Extension

Lifecycle

License

DEPRECATED

This package is deprecated. Please use the official SDK package @camunda8/sdk. See: https://github.com/camunda/camunda-8-js-sdk

Deterministically extract Camunda 8 Client credentials from the environment in Node.js. Uses neon-env under the hood.

To install in your project:

npm i camunda-8-credentials-from-env

To use:

import * as c from "camunda-8-credentials-from-env"

// throws if required credential elements are not found in the environment
const operateCreds = c.getOperateCredentials()
const optimizeCreds = c.getOptimiseCredentials()
const tasklistCreds = c.getTasklistCredentials()
const zeebeCreds = c.getZeebeCredentials()
const consoleCreds = c.getConsoleCredentials()

The library will only hit the environment once. Further calls to the same method will return a cached set of values.