Skip to content

feat: GCP SM, Azure KV, 1Password Connect providers (Plan 9)#211

Merged
erans merged 4 commits intomainfrom
worktree-plan-09-cloud-providers
Apr 10, 2026
Merged

feat: GCP SM, Azure KV, 1Password Connect providers (Plan 9)#211
erans merged 4 commits intomainfrom
worktree-plan-09-cloud-providers

Conversation

@erans
Copy link
Copy Markdown
Collaborator

@erans erans commented Apr 10, 2026

Summary

  • Add GCP Secret Manager (gcp-sm://) provider backed by Application Default Credentials
  • Add Azure Key Vault (azure-kv://) provider backed by DefaultAzureCredential
  • Add 1Password Connect (op://) provider with auth chaining support (api_key_ref)
  • Wire all three into policy validation (knownProviderTypes) and session config (DefaultConstructors, YAML decoders)

Test Plan

  • go test ./internal/proxy/secrets/gcpsm/ -v -race — 24 tests (mock-based, contract)
  • go test ./internal/proxy/secrets/azurekv/ -v -race — 22 tests (mock-based, contract)
  • go test ./internal/proxy/secrets/onepassword/ -v -race — 22 tests (mock-based, contract)
  • go test ./internal/policy/ -v -run TestValidateSecrets — policy validation for new types
  • go test ./internal/session/ -v -run TestResolveProviderConfigs — YAML decode for new types
  • go test ./... — full suite, no regressions
  • GOOS=windows go build ./... — cross-compilation clean

🤖 Generated with Claude Code

erans and others added 4 commits April 10, 2026 11:51
Add gcp-sm:// provider backed by GCP Secret Manager SDK.
Uses Application Default Credentials for ambient auth.
Includes config, provider, gRPC error mapping, JSON field
extraction, concurrency tests, and contract compliance.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add azure-kv:// provider backed by Azure Key Vault SDK.
Uses DefaultAzureCredential for ambient auth. Rejects URIs
with path components (KV names only allow alphanumerics and
hyphens). Includes config, provider, HTTP error mapping, JSON
field extraction, concurrency tests, and contract compliance.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add op:// provider backed by 1Password Connect SDK.
Supports auth chaining via api_key_ref and Dependencies().
Uses field-by-label extraction on structured item fields
(different from JSON field extraction in other providers).
Includes config, provider, HTTP error mapping, vault-by-title
resolution, concurrency tests, and contract compliance.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… (Plan 9, Task 4)

Add gcp-sm, azure-kv, op to knownProviderTypes in policy
validation. Add constructors and YAML decoders to session
config for all three new providers. Includes decode tests
for each provider type including 1Password's api_key_ref
chaining.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erans erans merged commit c252383 into main Apr 10, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant