feat: add @kubricate/plugin-azure-keyvault with AzureKeyVaultConnector#2
Open
mildronize wants to merge 7 commits into
Open
feat: add @kubricate/plugin-azure-keyvault with AzureKeyVaultConnector#2mildronize wants to merge 7 commits into
mildronize wants to merge 7 commits into
Conversation
…r plugin package description: - Repurpose packages/dummy as packages/plugin-azure-keyvault with correct package.json metadata and Azure SDK dependencies - Implement AzureKeyVaultConnector with load/get, prefix support, JSON parsing, and 404 error handling - Add 6-case unit test suite using vi.mock for @azure/keyvault-secrets and @azure/identity (no real Azure connection) - All checks pass: build, test (6/6), lint:check, check-types Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ault description: - Create all example files: package.json, tsconfig.json, eslint.config.mjs, .gitignore, .env.example - Add src/setup-secrets.ts wiring AzureKeyVaultConnector + OpaqueSecretProvider into SecretManager - Add src/stacks.ts with namespace and myApp stacks injecting two secrets - Add kubricate.config.ts using defineConfig; add kubernetes-models as direct dep to fix TS2742 portability errors - Verified pnpm check-types and lint:check both pass Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
Adds
@kubricate/plugin-azure-keyvault— the first real plugin in this repo, providing anAzureKeyVaultConnectorthat reads secrets from Azure Key Vault and wires into Kubricate'sSecretManager.What & Why
What changed
packages/plugin-azure-keyvault/and implementedAzureKeyVaultConnectorvaultUrl, optionalprefix, and optional customTokenCredential(defaults toDefaultAzureCredential)EnvConnectorexamples/with-azure-keyvault/showing the connector wired into aSecretManager+OpaqueSecretProviderWhy (problem / motivation)
dummyplaceholder package — this PR replaces it with the first real pluginLinked issues
Screenshots / Demos (if UI or DX)
Usage:
How to Test
pnpm installpnpm --filter=@kubricate/plugin-azure-keyvault buildpnpm --filter=@kubricate/plugin-azure-keyvault testpnpm --filter=@examples/with-azure-keyvault check-typesBreaking Changes?
Migration notes
Performance / Security / Compatibility
kubricate secret apply, not at manifest generation timeDefaultAzureCredentialfollows Azure SDK best practices; custom credential injection allows managed identity or OIDC@kubricate/core ^0.22.0,@azure/identity ^4.6,@azure/keyvault-secrets ^4.9Docs & Changelog
examples/with-azure-keyvault/addedRelease note
Checklist
Maintainer checklist
type/*,area/*,semver/*