Azure Key Vault
Backend & InfraThis repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
Release History
View all versions →@azure/arm-terraform_1.0.0-beta.2Breaking40 featuresThis release introduces several new optional parameters across various interfaces for enhanced export and resource management capabilities. It also adds new type aliases and enums, while deprecating specific values in KnownTargetProvider and KnownVersions.
@azure/arm-enclave_1.0.0@azure/arm-netapp_25.0.0-beta.3@azure/arm-purestorageblock_2.0.0-beta.1Breaking94 featuresThis beta release introduces a significant number of new operations, interfaces, types, and enums related to volume management, reservations, and platform console authentication. It also includes changes to existing operation signatures and parameter optionality.
@azure/arm-horizondb_1.0.0-beta.2@azure/arm-recoveryservices_7.2.0@azure/arm-containerservice_25.5.0@azure/arm-edgezones_1.0.01 featureThis is the first stable release of the @azure/arm-edgezones package, introducing a new SDK generation with layered APIs, smaller bundles, and improved ergonomics.
@azure/service-bus_7.10.0-beta.5@azure/arm-networkcloud_2.0.0@azure/app-configuration_1.13.0-beta.1@azure/arm-compute_25.1.1@azure/arm-storagesync_10.1.0@azure/arm-chaos_2.1.0-beta.2156 featuresThis beta release introduces a significant number of new features, including operation groups, interfaces, type aliases, and enums across various management areas. It also adds new optional parameters and enum values to existing interfaces and enums.
@azure/template_1.0.13-beta.6727222@azure/ai-projects_2.5.0@azure/template_1.0.13-beta.6726886@azure/template_1.0.13-beta.6726447@azure/arm-monitor_8.0.0@azure/template_1.0.13-beta.6722047@azure/template_1.0.13-beta.6721971@azure/arm-compute_25.1.0@azure/arm-hybridcompute_5.0.0@azure/arm-recoveryservicesbackup_14.0.0@azure/identity_4.13.2Common Errors
RestError3 reports"RestError" in azure-key-vault operations often arises from missing or incorrect `api-version` query parameters in your request. Explicitly setting the `api-version` when creating your Key Vault client object (e.g., `SecretClient(url=key_vault_url, credential=azure_credential, api_version="7.4")`) or specifying it in the method call resolves this by ensuring the Azure service understands the intended API version for the operation. Consult the Azure documentation for the supported `api-version` for chosen features.
CredentialUnavailableError2 reportsCredentialUnavailableError in Azure SDKs like azure-keyvault usually means the DefaultAzureCredential cannot find suitable credentials in the configured environments (e.g., environment variables, managed identity, Azure CLI). Ensure necessary environment variables (AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, AZURE_TENANT_ID, etc.) are set correctly based on your authentication method, or that your managed identity is properly configured and enabled if running in an Azure environment. If using exclusions in `DefaultAzureCredentialOptions`, verify they are not inadvertently excluding the intended authentication method.
RecorderError2 reportsReferenceError1 reportThe "ReferenceError: process is not defined" error usually occurs in browser environments when code attempts to access the Node.js `process` global. To fix this, use a bundler like webpack or browserify with polyfills that provide browser-compatible equivalents for Node.js globals, or conditionally exclude the code that uses `process` when running in a browser.
OperationTimeoutError1 reportOperationTimeoutError in Azure SDKs like @azure/key-vault often arises from network connectivity issues or service overload, preventing timely responses. Resolve this by increasing the timeout duration in the client options (e.g., `new SecretClient(..., { timeout: 60000 })` for 60 seconds) and ensuring your application has robust error handling with retry mechanisms, especially during peak hours or network instability. You may also need to check firewall rules or network configuration.
CallingCommunicationError1 reportCallingCommunicationError in azure-key-vault often indicates a network connectivity problem or firewall rule blocking access between your application and the Key Vault service endpoint. Verify your network configuration allows outbound traffic to the Key Vault address and port (443), and that no firewalls or network security groups are interfering. Additionally, double-check your application's managed identity or service principal has sufficient permissions (Key Vault Secrets User or similar) to perform the requested operation.
Related Backend & Infra Packages
Production-Grade Container Scheduling and Management
Node.js JavaScript runtime ✨🐢🚀✨
Promise based HTTP client for the browser and node.js
A modern runtime for JavaScript and TypeScript.
Deliver web apps with confidence 🚀
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
Subscribe to Updates
Get notified when new versions are released