New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ydb-sdk

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ydb-sdk

Node.js bindings for working with YDB API over gRPC

  • 1.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
decreased by-20.72%
Maintainers
1
Weekly downloads
 
Created
Source

How to use

Install dependencies and compile sources

npm ci
npm run build

Set environment variables for proper authentication

Variables which should not be set for a specific installation are explicitly set to an empty value, so that startup script correctly detects which installation you are aiming at.

For internal YDB cluster

export SA_ID=
export YDB_TOKEN= # here comes your oauth token
export ENTRYPOINT=grpc:// # here comes your internal entrypoint hostname
export DB= # here comes your internal db name
export YDB_SSL_ROOT_CERTIFICATES_FILE=
export YDB_SDK_LOGLEVEL=debug

For Yandex.Cloud YDB cluster

export YDB_TOKEN=
export SA_PRIVATE_KEY_FILE= # here should be the path to the file with your service account's private key
export YDB_SSL_ROOT_CERTIFICATES_FILE= # here should be the path to ssl root certificate for YDB installation 
export IAM_ENDPOINT= # by default it is iam.api.cloud.yandex.net:443
export SA_ID= # here come you service account's id
export SA_ACCESS_KEY_ID= # here comes your service account's key id
export ENTRYPOINT=grpcs:// # here comes your cloud entrypoint hostname
export DB= # here comes your cloud db name
export YDB_SDK_LOGLEVEL=debug

Run basic-example script

npm start  

Keywords

FAQs

Package last updated on 20 May 2020

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