cuddly-jelly-27016
03/03/2025, 6:59 PMkeyring service based token cache in headless environments is challenging. Many keyring implementations are tied to GUI interactions and proper headless configuration across different distros is very challenging. I propose we leave keyring as the default token cache, but enable users to opt-in for a filesystem based cache if desired.
What changes were proposed in this pull request?
• Adds a new TokenCacheTypeFilesystem implementation that may be configured via root.token-cache-type
How was this patch tested?
• Added a set of tests that mimic the functionality of the tests for token_keyring_test.go
Setup process
Screenshots
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
flyteorg/flytecuddly-jelly-27016
03/03/2025, 6:59 PM