Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (24 loc) · 1.49 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.49 KB

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.