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

Extract Camunda 8 Client credentials from the environment for Node.js applications

Notifications You must be signed in to change notification settings

camunda-community-hub/camunda-8-credentials-from-env

Repository files navigation

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.

About

Extract Camunda 8 Client credentials from the environment for Node.js applications

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •