Azure SDK for JavaScript API Reference

Storage

Use the Azure Storage SDK to manage data in Azure Blob Storage, Files, Queues, and Tables.

Key Vault

Use the Azure Key Vault SDK to securely store and manage secrets, keys, and certificates.

Example Usage


import { SecretClient } from "@azure/keyvault-secrets";
import { DefaultAzureCredential } from "@azure/identity";

async function getSecret() {
  const credential = new DefaultAzureCredential();
  const vaultUrl = "https://your-keyvault-name.vault.azure.net/";
  const client = new SecretClient(vaultUrl, credential);

  const secretName = "mySecretName";
  const secret = await client.getSecret(secretName);

  console.log(`The secret is: ${secret.value}`);
}

getSecret();
                    

Cosmos DB

Interact with Azure Cosmos DB, a globally distributed, multi-model database service.

Compute

Manage Azure Compute resources, including virtual machines, scale sets, and disks.

App Configuration

Access and manage application settings stored in Azure App Configuration.

Event Hubs

Send and receive events from Azure Event Hubs, a big data streaming platform.

Service Bus

Build reliable messaging solutions with Azure Service Bus queues and topics.

Identity

Authenticate your applications with Azure services using Azure Identity.