Skip to content

Add K8s projected volume JWT authentication support - #120

Merged
dcherednik merged 1 commit into
ydb-platform:mainfrom
bma13:k8s-jwt-credentials
Oct 7, 2026
Merged

dcherednik merged 1 commit into
ydb-platform:mainfrom
bma13:k8s-jwt-credentials

Conversation

@bma13

@bma13 bma13 commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

This PR an alternative authentication method for Aardappel using Kubernetes SA tokens (those are taken from a projected volume since the app is launched in k8s), instead of requiring static OAuth2 key files with embedded private keys.

Changes:

New *_k8s_jwt_auth config section with k8s_token_path, subject_token, and subject_token_type fields
Mutually exclusive with existing *_oauth2_file and *_static_token option
This enables authentication in k8s environments without static credentials and simplifies Aardappel deployments in new regions

@dcherednik
dcherednik merged commit 9e14b1a into ydb-platform:main Oct 7, 2026
1 check passed
@bma13
bma13 deleted the k8s-jwt-credentials branch October 7, 2026 10:47
bma13 added a commit that referenced this pull request Oct 16, 2026
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.

2 participants