The Akeyless Dev Hub

If you're looking for help with the only zero-trust, SaaS, unified platform for secrets management - you've come to the right place.

This is our documentation and updates center.

Documentation

JavaScript SDK

This documentation suits Node.js and React.

Introduction

The Akeyless SDK for Node.js makes it easy for you to integrate your Node.js applications, libraries, or scripts with the Akeyless Vault secret management services.
The below Node.js code examples shows a typical sequence of how to integrate secrets into your application.

Install the client

To install the SDK, execute the following:

npm install akeylesslabs/akeyless-javascript-sdk --save

And then use it as follows:

var AkeylessVaultApi = require('akeyless_vault_api');
var api = new AkeylessVaultApi.DefaultApi()
api.apiClient.basePath = 'https://rest.akeyless.io'
api.auth({
    'accessId': '<access-id>', 
    'accessKey': '<access-key>',
}, (_, res) => {
    api.listItems(res.token, {}, (_, res) => {
        console.log(res.response.items)
    })
})

📘

Documentation for API calls

https://github.com/akeylesslabs/akeyless-javascript-sdk

Updated 3 months ago

JavaScript SDK


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.