JavaScript SDK

This guide shows how to setup Onboardbase with our JS SDK

The JavaScript SDK allows you to interact with your resources on Onboardbase from your JavaScript (NodeJS) codebase. With the SDK, you can programmatically fetch your Onboardbase projects, environments, secrets etc.

To get started, install the Onboardbase SDK with any of the following commands


npm install @onboardbase/secrets
yarn add @onboardbase/secrets

Setting Up

You will need to authenticate the JavaScript SDK in order to use it. You can do that in two ways:

Inbuilt SDK Feature

Secure fallback cache

The JavaScript SDK supports caching your secrets to a secured location on the current computer for 24 hours. This cache is helpful in case of an issue with communicating with Onboardbase servers to serve secrets.