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 backend for the key-value store. The implementation is comprehensive, covering configuration, multiple authentication methods (including ADC, service account keys, Workload Identity Federation, and SA impersonation), secret retrieval ( 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 (New)"]
ExistingProviders["... (Existing Providers)"]
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-22T11:13:24.957Z | Triggered by: pr_updated | Commit: 6ff2bf9 💡 TIP: You can chat with Visor using |
Security Issues (1)
Architecture Issues (1)
Security Issues (1)
No performance issues found – changes LGTM. Quality Issues (1)
Powered by Visor from Probelabs Last updated: 2026-07-22T11:13:10.900Z | Triggered by: pr_updated | Commit: 6ff2bf9 💡 TIP: You can chat with Visor using |
…s but later should be tested and finished
…to avoid 60s retry on tests
|
/visor
Its false positive because the person who controls the value of credentials_file controls the whole machine where app is running. |
|
|
|
🚨 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
The change introduces a provider for GCP secret manager. The provider supports multiple auth options, SA impersonation and external account.
Related Issue
Motivation and Context
Test Coverage For This Change
DEMOS
Screen.Recording.2026-07-22.at.11.59.57.mov
Screen.Recording.2026-07-22.at.12.11.20.mov
Screen.Recording.2026-07-22.at.12.21.59.mov
Screen.Recording.2026-07-22.at.12.27.03.mov
Screen.Recording.2026-07-22.at.12.29.06.mov
GCP.Set.method.mov
Screen.Recording.2026-07-22.at.15.51.59.mov
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 ./...