azure-keyvault-keys-ts
Skill by sickn33
Manages cryptographic keys in Azure Key Vault using the @azure/keyvault-keys SDK for JavaScript. It covers creating, encrypting, signing, rotating and backing up keys, and is aimed at Node.js developers.
Install azure-keyvault-keys-ts
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-keyvault-keys-ts ~/.claude/skills/azure-keyvault-keys-tsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-keyvault-keys-ts ~/.gemini/antigravity-cli/skills/azure-keyvault-keys-tsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install azure-keyvault-keys-ts in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill gives an AI assistant TypeScript examples for the Azure Key Vault Keys SDK for JavaScript, package @azure/keyvault-keys. It covers creating RSA, EC and generic keys, getting and listing keys, rotating keys and setting rotation policies, and deleting or purging keys. It also includes encrypt and decrypt, sign and verify, and wrap and unwrap operations through a CryptographyClient.
The examples also cover secret operations with SecretClient and backup and restore for keys and secrets. Authentication uses DefaultAzureCredential and a vault URL taken from environment variables. The skill is aimed at Node.js developers who manage keys in Azure Key Vault. It is marked as critical risk and asks for approved test vaults, least-privilege identities and a recovery plan before any change, because purge is irreversible and key rotation or deletion can break dependent workloads.
Written from the project's SKILL.md and checked against it.
What it can do
- Create keysCreates generic, RSA and elliptic curve keys, with optional attributes such as expiry and key operations.
- Rotate keysRotates a key manually or sets a rotation policy with lifetime actions.
- Encrypt and decryptEncrypts and decrypts data with a CryptographyClient using algorithms such as RSA-OAEP.
- Sign and verifySigns a SHA-256 digest with a key and verifies the signature.
- Wrap and unwrap keysWraps key material for storage and unwraps it again.
- Backup and restoreBacks up keys and secrets and restores them within the same subscription and geography.
- Manage secretsSets, gets, lists, deletes, recovers and purges secrets using the SecretClient.
What you need
- Node.js
- An Azure Key Vault instance, set through KEY_VAULT_URL or AZURE_KEYVAULT_NAME
- npm packages @azure/keyvault-keys, @azure/keyvault-secrets and @azure/identity
Try asking
- Show me how to create an RSA key in Key Vault with a 2048-bit size
- Write a TypeScript snippet that encrypts and decrypts a message with RSA-OAEP
- Write a TypeScript snippet that signs a SHA-256 digest with a vault key
Good to know
- Node.js only. Browsers are not supported.
- Purge is irreversible and can be blocked by purge protection.
- Key deletion or rotation can break dependent workloads.
- Restore works only within the same subscription and Azure geography.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/azure-keyvault-keys-ts/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to azure-keyvault-keys-ts
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
azure-keyvault-keys-ts: common questions
Can I use this Azure Key Vault SDK in the browser?
No. The source says these SDKs are Node.js only and browsers are not supported.
Is purging a deleted key reversible?
No. The source says purge is permanent and irreversible, and it can be blocked by purge protection on the vault.
Where can I restore a key backup?
The source says a backup can only be restored within the same subscription and Azure geography.
How do I install azure-keyvault-keys-ts?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is azure-keyvault-keys-ts free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is azure-keyvault-keys-ts safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to azure-keyvault-keys-ts?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
