Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zalter/identity

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zalter/identity

A Node.js API client for Zalter Identity service

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

Zalter Identity - Node.js SDK

An ESM and CJS software developer kit meant to be used with the Identity API services offered by Zalter.

Requirements

Node.js version 15 or higher. For security reasons the latest version is preferred.

Installation

Use npm to install the @zalter/identity node module:

npm install @zalter/identity

Usage

import { IdentityClient } from '@zalter/identity';

const config = {
  projectId: '<your-project-id>',
  credentials: '<your-credentials>' // your credentials
};

const identityClient = new IdentityClient(config);

const keyId = '<a-signing-key-id>';

try {
  const res = await identityClient.getPublicKey(keyId);
  console.log(res);
} catch (err) {
  console.error(err);
}

// Destroy the client
identityClient.destroy();

Documentation

Zalter Docs Website

Keywords

FAQs

Package last updated on 07 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc