feat(akeyless): add SecretStore ignoreCache to bypass Gateway cache#1
Open
baraka-akeyless wants to merge 1 commit into
Open
feat(akeyless): add SecretStore ignoreCache to bypass Gateway cache#1baraka-akeyless wants to merge 1 commit into
baraka-akeyless wants to merge 1 commit into
Conversation
Expose ignoreCache on the Akeyless SecretStore provider so ESO can request fresh secret values from SaaS when syncing through an Akeyless Gateway, matching the Kubernetes Secrets Injector ignore_cache behavior. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
ignoreCachefield to the AkeylessSecretStore/ClusterSecretStoreprovider spectrue, ESO passesignore-cache=trueto Akeyless Gateway read APIs (get-secret-value,get-rotated-secret-value,get-certificate-value)ignore_cacheoptionMotivation
When ESO syncs secrets through an Akeyless Gateway with proactive cache enabled, refreshed values may be stale until the Gateway cache expires. This flag lets operators bypass the Gateway cache and fetch the latest value from Akeyless SaaS on each sync.
Example
Test plan
go test ./providers/v1/akeyless/... -run TestIgnoreCacheEnabledignoreCache: trueagainst Gateway, rotate secret in SaaS, verify ExternalSecret picks up new value on next sync without waiting for Gateway cache TTLMade with Cursor