azure-keyvault-secrets-ts

Manage Azure Key Vault secrets with the @azure/keyvault-secrets SDK.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-keyvault-secrets-ts
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: azure-keyvault-secrets-ts
Source: https://github.com/davidrrowley/CortexYouV3/tree/main/.agents/skills/azure-keyvault-secrets-ts
Command: npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-keyvault-secrets-ts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Azure Key Vault Secrets for TypeScript enables secure, programmatic management of secrets in Azure Key Vault using the @azure/keyvault-secrets SDK. It streamlines storing, retrieving, and updating secret values within TS apps, while ensuring proper credential-based access control.

Core Features & Use Cases

  • Create, set, and retrieve secrets with optional attributes such as enabled, expiresOn, and tags.
  • List secrets and secret versions across vaults, including soft-delete and recovery workflows.
  • Backup and restore secrets to facilitate vault migration or disaster recovery.
  • Initialize clients with DefaultAzureCredential for secure, MI-friendly authentication in both development and production.

Quick Start

Configure a SecretClient and perform a secret set followed by retrieval to verify integration.

Frequently Asked Questions about azure-keyvault-secrets-ts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve a secret from Azure Key Vault in TypeScript?▼

To retrieve a secret from Azure Key Vault in TypeScript, instantiate a SecretClient with your vault URL and DefaultAzureCredential, then call the getSecret method to access the stored secret value.

What is the best way to manage Azure Key Vault secrets in a Node.js app?▼

Managing Azure Key Vault secrets in a Node.js app is best handled by the @azure/keyvault-secrets SDK, which provides a SecretClient to programmatically create, list, update, and back up secrets securely.

Does Azure Key Vault SDK support soft-delete and recovery workflows for secrets?▼

Yes, the Azure Key Vault SDK supports soft-delete and recovery workflows, allowing you to list deleted secrets and recover them across vaults within your TypeScript application.

Can I use DefaultAzureCredential to authenticate with Azure Key Vault?▼

Yes, you can use DefaultAzureCredential to authenticate with Azure Key Vault, providing managed-identity-friendly access control for securely initializing the SecretClient in both development and production environments.

How do I back up and restore secrets for Azure Key Vault vault migration?▼

To back up and restore secrets for Azure Key Vault vault migration, use the SDK's backup and restore methods to securely export secret values and import them into a new vault.

Do I need the @azure/keyvault-secrets package to set secret attributes like expiresOn?▼

Yes, you need the @azure/keyvault-secrets package to set a secret with optional attributes such as enabled, expiresOn, and tags when creating or updating secret values in Azure Key Vault.