TT-17624: Add GCP provider#156
Conversation
|
CLA Assistant Lite bot: I have read the CLA Document and I hereby sign the CLA Vlad Zabolotnyi seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
|
This PR introduces a new provider for Google Cloud Platform (GCP) Secret Manager, enabling its use as a key-value store. The implementation is comprehensive, adding both read ( A key highlight of this PR is the extensive and hermetic test suite, which features a fake in-memory gRPC server to simulate the Secret Manager API. This allows for reliable testing of the provider's logic without actual network calls or GCP infrastructure. Files Changed Analysis
Architecture & Impact Assessment
graph TD
subgraph Application
Service[Service using KV Store]
end
subgraph "KV Abstraction"
ProviderFactory[kv.ProviderFactory]
ProviderInterface[kv.Provider]
end
subgraph "KV Providers"
style GCPProvider fill:#d2e5ff,stroke:#333,stroke-width:2px
GCPProvider[gcp.gcpProvider]
ExistingProviders[...]
end
subgraph "External Services"
GCPSecretManager[GCP Secret Manager API]
end
Service --> ProviderFactory
ProviderFactory -- Creates --> ProviderInterface
ProviderInterface -- Implemented by --> GCPProvider
ProviderInterface -- Implemented by --> ExistingProviders
GCPProvider -- Interacts with --> GCPSecretManager
Scope Discovery & Context Expansion
Metadata
Powered by Visor from Probelabs Last updated: 2026-07-20T14:26:10.604Z | Triggered by: pr_updated | Commit: a02cecd 💡 TIP: You can chat with Visor using |
Security Issues (2)
Security Issues (2)
✅ Performance Check PassedNo performance issues found – changes LGTM. Powered by Visor from Probelabs Last updated: 2026-07-20T14:25:08.304Z | Triggered by: pr_updated | Commit: a02cecd 💡 TIP: You can chat with Visor using |
…s but later should be tested and finished
…to avoid 60s retry on tests
🚨 Jira Linter FailedCommit: The Jira linter failed to validate your PR. Please check the error details below: 🔍 Click to view error detailsNext Steps
This comment will be automatically deleted once the linter passes. |
Description
Ticket: https://tyktech.atlassian.net/browse/TT-17624
Related Issue
Motivation and Context
Test Coverage For This Change
Screenshots (if appropriate)
Types of changes
Checklist
master!masterbranch (left side). Also, it would be best if you started your change off our latestmaster.go mod tidy && go mod vendorgofmt -s -w .go vet ./...