
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@byteplus/vcloud-sdk-nodejs
Advanced tools
npm install -S @byteplus/vcloud-sdk-nodejs
Available in three settings
import { vodOpenapi } from "@byteplus/vcloud-sdk-nodejs";
// Use the default service instance.
const vodService = vodOpenapi.defaultService;
// set aksk
vodService.setAccessKeyId(AccessKeyId);
vodService.setSecretKey(SecretKey);
// If you use sts to request, you need to set up `SessionToken` after aksk is set
vodService.setSessionToken(SessionToken);
BYTEPLUS_ACCESSKEY="your ak" BYTEPLUS_SECRETKEY="your sk"
Put it in ~/.byteplus/config in json format, the format is:
{"BYTEPLUS_ACCESSKEY":"your ak","BYTEPLUS_SECRETKEY":"your sk"}
Take the ListUsers API of the iam service as an example
import { vodOpenapi } from "@byteplus/vcloud-sdk-nodejs";
async function main(AccessKeyId, SecretKey) {
// Use the default service instance.
const vodService = vodOpenapi.defaultService;
// set aksk
vodService.setAccessKeyId(AccessKeyId);
vodService.setSecretKey(SecretKey);
// Request OpenAPI
const usersResponse = await vodService.ListUsers({
Limit: 10,
Offset: 0,
});
}
import { Signer } from "@byteplus/vcloud-sdk-nodejs";
// http request data
const openApiRequestData: RequestObj = {
region: "ap-singapore-1",
method: "GET",
// [optional] http request url query
params: {},
// http request headers
headers: {},
// [optional] http request body
body: "",
};
const signer = new Signer(openApiRequestData, "vod");
// sign
signer.addAuthorization({ accessKeyId, secretKey, sessionToken });
// Print signed headers
console.log(openApiRequestData.headers);
const openApiRequestData: RequestObj = {
method: "POST",
region: "ap-singapore-1",
params: {
Action: "UpdateSubtitleStatus",
Version: "2023-01-01",
Vid: "your vid",
Status: "your status",
FileIds: "your fileIds",
Formats: "your formats",
Languages: "your languages",
},
};
const credentials: Credentials = {
accessKeyId: BYTEPLUS_ACCESSKEY,
secretKey: BYTEPLUS_SECRETKEY,
sessionToken: "",
};
const signer = new Signer(openApiRequestData, "vod");
const signedQueryString = signer.getSignUrl(credentials);
FAQs
Vcloud Byteplus OpenAPI SDK of NodeJs
The npm package @byteplus/vcloud-sdk-nodejs receives a total of 220 weekly downloads. As such, @byteplus/vcloud-sdk-nodejs popularity was classified as not popular.
We found that @byteplus/vcloud-sdk-nodejs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 15 open source maintainers collaborating on the project.
Did you know?

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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.